Workflow updates

pull/1792/head
zomars 2022-02-09 15:37:50 -07:00 committed by Omar López
parent 038e8a4b7d
commit 20da74b4a6
5 changed files with 15 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -22,6 +22,3 @@ jobs:
- name: Lint
run: yarn lint
- name: Type Checks
run: tsc

View File

@ -10,8 +10,10 @@
"build": "turbo run build",
"clean": "turbo run clean && rm -rf node_modules",
"dev": "turbo run dev --parallel",
"dx": "turbo run dx",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"prepare": "husky install"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "2.0.4",

View File

@ -1,4 +1,6 @@
{
"baseBranch": "origin/main",
"globalDependencies": [".env"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
@ -7,11 +9,14 @@
"clean": {
"cache": false
},
"lint": {
"outputs": []
},
"dev": {
"cache": false
},
"dx": {
"cache": false
},
"lint": {
"outputs": []
}
}
}