diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 970a003..a6bb25e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.husky/pre-commit b/.husky/pre-commit index 8766867..7723619 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,7 +1,6 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -yarn audit yarn format yarn lint-staged yarn typecheck \ No newline at end of file