Workflow updates
This commit is contained in:
@@ -20,11 +20,8 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Use Node ${{ matrix.node }}
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
|
||||
- name: Install deps
|
||||
uses: bahmutov/npm-install@v1
|
||||
|
||||
- run: yarn check-changed-files
|
||||
- run: yarn
|
||||
- run: tsc
|
||||
|
||||
@@ -73,6 +73,7 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
|
||||
|
||||
- run: cd apps/web
|
||||
- run: yarn prisma migrate deploy
|
||||
- run: yarn db-seed
|
||||
- run: yarn test
|
||||
|
||||
@@ -22,6 +22,3 @@ jobs:
|
||||
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
|
||||
- name: Type Checks
|
||||
run: tsc
|
||||
|
||||
Reference in New Issue
Block a user