build: remove audit step
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -28,15 +28,6 @@ jobs:
|
||||
node-version: 18
|
||||
- run: yarn
|
||||
- run: yarn typecheck
|
||||
audit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: yarn
|
||||
- run: yarn audit
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
@@ -47,7 +38,7 @@ jobs:
|
||||
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
|
||||
POSTGRES_DB: ${{ env.POSTGRES_DATABASE }}
|
||||
ports:
|
||||
- 5432:5432
|
||||
- 5432:5432
|
||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -63,7 +54,7 @@ jobs:
|
||||
- run: yarn test
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint, typecheck, audit, test]
|
||||
needs: [lint, typecheck, test]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
yarn audit
|
||||
yarn format
|
||||
yarn lint-staged
|
||||
yarn typecheck
|
||||
Reference in New Issue
Block a user