mirror of https://github.com/facebook/jest.git
chore: upgrade `github-actions-cpu-cores` (#14491)
This commit is contained in:
parent
0b0cf73a9f
commit
febaa2fb6c
|
@ -183,7 +183,7 @@ jobs:
|
|||
run: yarn build:js
|
||||
- name: Get number of CPU cores
|
||||
id: cpu-cores
|
||||
uses: SimenB/github-actions-cpu-cores@v1
|
||||
uses: SimenB/github-actions-cpu-cores@v2
|
||||
- name: run tests with coverage
|
||||
run: yarn jest-coverage --color --config jest.config.ci.mjs --max-workers ${{ steps.cpu-cores.outputs.count }} --shard=${{ matrix.shard }}
|
||||
- name: map coverage
|
||||
|
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
run: yarn build:js
|
||||
- name: Get number of CPU cores
|
||||
id: cpu-cores
|
||||
uses: SimenB/github-actions-cpu-cores@v1
|
||||
uses: SimenB/github-actions-cpu-cores@v2
|
||||
- name: run tests
|
||||
run: yarn test-ci-partial:parallel --max-workers ${{ steps.cpu-cores.outputs.count }} --shard=${{ matrix.shard }}
|
||||
|
||||
|
@ -59,6 +59,6 @@ jobs:
|
|||
run: yarn build:js
|
||||
- name: Get number of CPU cores
|
||||
id: cpu-cores
|
||||
uses: SimenB/github-actions-cpu-cores@v1
|
||||
uses: SimenB/github-actions-cpu-cores@v2
|
||||
- name: run tests using jest-jasmine
|
||||
run: yarn jest-jasmine-ci --max-workers ${{ steps.cpu-cores.outputs.count }} --shard=${{ matrix.shard }}
|
||||
|
|
|
@ -190,7 +190,7 @@ If you use GitHub Actions, you can use [`github-actions-cpu-cores`](https://gith
|
|||
```yaml
|
||||
- name: Get number of CPU cores
|
||||
id: cpu-cores
|
||||
uses: SimenB/github-actions-cpu-cores@v1
|
||||
uses: SimenB/github-actions-cpu-cores@v2
|
||||
- name: run tests
|
||||
run: yarn jest --max-workers ${{ steps.cpu-cores.outputs.count }}
|
||||
```
|
||||
|
|
|
@ -190,7 +190,7 @@ If you use GitHub Actions, you can use [`github-actions-cpu-cores`](https://gith
|
|||
```yaml
|
||||
- name: Get number of CPU cores
|
||||
id: cpu-cores
|
||||
uses: SimenB/github-actions-cpu-cores@v1
|
||||
uses: SimenB/github-actions-cpu-cores@v2
|
||||
- name: run tests
|
||||
run: yarn jest --max-workers ${{ steps.cpu-cores.outputs.count }}
|
||||
```
|
||||
|
|
|
@ -190,7 +190,7 @@ If you use GitHub Actions, you can use [`github-actions-cpu-cores`](https://gith
|
|||
```yaml
|
||||
- name: Get number of CPU cores
|
||||
id: cpu-cores
|
||||
uses: SimenB/github-actions-cpu-cores@v1
|
||||
uses: SimenB/github-actions-cpu-cores@v2
|
||||
- name: run tests
|
||||
run: yarn jest --max-workers ${{ steps.cpu-cores.outputs.count }}
|
||||
```
|
||||
|
|
|
@ -190,7 +190,7 @@ If you use GitHub Actions, you can use [`github-actions-cpu-cores`](https://gith
|
|||
```yaml
|
||||
- name: Get number of CPU cores
|
||||
id: cpu-cores
|
||||
uses: SimenB/github-actions-cpu-cores@v1
|
||||
uses: SimenB/github-actions-cpu-cores@v2
|
||||
- name: run tests
|
||||
run: yarn jest --max-workers ${{ steps.cpu-cores.outputs.count }}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue