Skip to content

Commit d908b34

Browse files
committed
ci: update size (#23)
1 parent 1f39693 commit d908b34

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/size.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,31 @@ jobs:
77
size:
88
name: Size
99
runs-on: ubuntu-latest
10-
env:
11-
CI_JOB_NUMBER: 1
10+
strategy:
11+
matrix:
12+
node-version: [14]
1213
steps:
1314
- name: Check out
1415
uses: actions/checkout@v2
1516

17+
- name: Set up Node ${{ matrix.node-version }}
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
22+
- name: Load yarn cache
23+
uses: actions/[email protected]
24+
id: yarn-cache
25+
with:
26+
path: ./node_modules
27+
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
28+
restore-keys: ${{ runner.os }}-yarn-cache-
29+
30+
- name: Install dependencies
31+
if: steps.yarn-cache.outputs.cache-hit != 'true'
32+
run: yarn --frozen-lockfile
33+
1634
- uses: andresz1/[email protected]
1735
with:
1836
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
skip_step: install

0 commit comments

Comments
 (0)