ci: run lint parallel to tests
This commit is contained in:
parent
4ab7f4baa8
commit
03b8250ef9
1 changed files with 2 additions and 6 deletions
8
.github/workflows/test.yaml
vendored
8
.github/workflows/test.yaml
vendored
|
@ -24,7 +24,6 @@ jobs:
|
|||
|
||||
test-node:
|
||||
runs-on: ubuntu-latest
|
||||
needs: lint
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -46,7 +45,6 @@ jobs:
|
|||
|
||||
test-bun:
|
||||
runs-on: ubuntu-latest
|
||||
needs: lint
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/init
|
||||
|
@ -60,7 +58,6 @@ jobs:
|
|||
|
||||
test-deno:
|
||||
runs-on: ubuntu-latest
|
||||
needs: lint
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/init
|
||||
|
@ -74,7 +71,6 @@ jobs:
|
|||
|
||||
test-web:
|
||||
runs-on: ubuntu-latest
|
||||
needs: lint
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -94,7 +90,7 @@ jobs:
|
|||
|
||||
e2e:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test-node, test-web, test-bun, test-deno]
|
||||
needs: [lint, test-node, test-web, test-bun, test-deno]
|
||||
permissions:
|
||||
contents: read
|
||||
actions: write
|
||||
|
@ -116,7 +112,7 @@ jobs:
|
|||
run: cd e2e/node && ./cli.sh ci-publish
|
||||
e2e-deno:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test-node, test-web, test-bun, test-deno]
|
||||
needs: [lint, test-node, test-web, test-bun, test-deno]
|
||||
permissions:
|
||||
contents: read
|
||||
actions: write
|
||||
|
|
Loading…
Reference in a new issue