Workflow updates
parent
038e8a4b7d
commit
20da74b4a6
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
11
turbo.json
11
turbo.json
|
@ -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": []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue