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:
|
test-node:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: lint
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -46,7 +45,6 @@ jobs:
|
||||||
|
|
||||||
test-bun:
|
test-bun:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: lint
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: ./.github/actions/init
|
- uses: ./.github/actions/init
|
||||||
|
@ -60,7 +58,6 @@ jobs:
|
||||||
|
|
||||||
test-deno:
|
test-deno:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: lint
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: ./.github/actions/init
|
- uses: ./.github/actions/init
|
||||||
|
@ -74,7 +71,6 @@ jobs:
|
||||||
|
|
||||||
test-web:
|
test-web:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: lint
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -94,7 +90,7 @@ jobs:
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test-node, test-web, test-bun, test-deno]
|
needs: [lint, test-node, test-web, test-bun, test-deno]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
actions: write
|
actions: write
|
||||||
|
@ -116,7 +112,7 @@ jobs:
|
||||||
run: cd e2e/node && ./cli.sh ci-publish
|
run: cd e2e/node && ./cli.sh ci-publish
|
||||||
e2e-deno:
|
e2e-deno:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test-node, test-web, test-bun, test-deno]
|
needs: [lint, test-node, test-web, test-bun, test-deno]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
actions: write
|
actions: write
|
||||||
|
|
Loading…
Reference in a new issue