mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
ci(.github/workflows): add 'test.yml' and rename job (#3059)
* ci(.github/workflows/lint-and-type.yml): add matrix strategy for parallel execution * ci(.github/workflows/lint-and-type.yml): set 'fail-fast' to 'false' * ci(.github/workflows): change jobs name * ci(.github/workflows): add test.yml * ci(.github/workflows/test.yml): add if condition * ci(.github/workflows/test-old-typescript.yml): rename job to 'test_old_typescript' * ci(.github/workflows/test.yml): remove matrix strategy * ci(.github/workflows/test.yml): add comment in build script * ci(.github/workflows/test.yml): change test script to sequentially
This commit is contained in:
parent
90f8d592d4
commit
45974540da
2
.github/workflows/test-multiple-builds.yml
vendored
2
.github/workflows/test-multiple-builds.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test_matrix:
|
test_multiple_builds:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|||||||
15
.github/workflows/test-multiple-versions.yml
vendored
15
.github/workflows/test-multiple-versions.yml
vendored
@ -7,20 +7,7 @@ on:
|
|||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test_multiple_versions:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: pnpm/action-setup@v4
|
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 'lts/*'
|
|
||||||
cache: 'pnpm'
|
|
||||||
- run: pnpm install
|
|
||||||
- run: pnpm run build # we don't have any other workflows to test build
|
|
||||||
- run: pnpm run test:spec
|
|
||||||
|
|
||||||
test_matrix:
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|||||||
2
.github/workflows/test-old-typescript.yml
vendored
2
.github/workflows/test-old-typescript.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test_matrix:
|
test_old_typescript:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
name: Lint and Type
|
name: Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -7,7 +7,7 @@ on:
|
|||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -20,3 +20,5 @@ jobs:
|
|||||||
- run: pnpm run test:format
|
- run: pnpm run test:format
|
||||||
- run: pnpm run test:types
|
- run: pnpm run test:types
|
||||||
- run: pnpm run test:lint
|
- run: pnpm run test:lint
|
||||||
|
- run: pnpm run test:spec
|
||||||
|
- run: pnpm run build # we don't have any other workflows to test build
|
||||||
Loading…
x
Reference in New Issue
Block a user