Skip to content

Commit 1d3e008

Browse files
author
Tangent Lin
committed
ci: Update github action version and settings
Summary: Test Plan:
1 parent 199f1cf commit 1d3e008

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ jobs:
1212

1313
steps:
1414
- name: Checkout repo
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616

1717
- name: Use Node ${{ matrix.node }}
18-
uses: actions/setup-node@v1
18+
uses: actions/setup-node@v3
1919
with:
20+
cache: 'yarn'
21+
cache-dependency-path: 'yarn.lock'
2022
node-version: ${{ matrix.node }}
21-
22-
- name: Install deps and build (with cache)
23-
uses: bahmutov/npm-install@v1
23+
- run: yarn install --frozen-lockfile
2424

2525
- name: Lint
2626
run: yarn lint
2727

2828
- name: Test
29-
run: yarn test --ci --coverage --maxWorkers=2
29+
run: yarn test --ci --maxWorkers=1
3030

3131
- name: Upload coverage to Codecov
3232
uses: codecov/codecov-action@v4

.github/workflows/size.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)