Skip to content

제발 되라

제발 되라 #434

name: 'test-every-push'
on: push
jobs:
test:
name: Test lint, tsc, build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
- name: Cache node modules
uses: actions/cache@v2
id: cache
with:
path: node_modules
key: npm-packages-${{ hashFiles('**/package-lock.json') }}
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm install
- run: npm run lint
if: ${{ always() }}
- run: npm run tsc
if: ${{ always() }}
- run: npm run build
if: ${{ always() }}