Skip to content

Commit 5a05a41

Browse files
committed
Update workflows
1 parent 744da62 commit 5a05a41

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Node
1313
uses: actions/setup-node@v1
1414
with:
15-
node-version: '14.x'
15+
node-version: '18.x'
1616

1717
- name: Get yarn cache
1818
id: yarn-cache
@@ -26,7 +26,7 @@ jobs:
2626
restore-keys: |
2727
${{ runner.os }}-yarn-
2828
29-
- run: yarn install --frozen-lockfile
29+
- run: yarn install --frozen-lockfile --ignore-engines
3030
- run: yarn build
3131
- run: yarn build:playground
3232

.github/workflows/size.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,20 @@ jobs:
66
env:
77
CI_JOB_NUMBER: 1
88
steps:
9-
- uses: actions/checkout@v1
9+
- name: Checkout repo
10+
uses: actions/checkout@v2
11+
12+
- name: Setup Node
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: '18.x'
16+
17+
- name: Install deps and build (with cache)
18+
uses: bahmutov/npm-install@v1
19+
with:
20+
install-command: yarn install --ignore-engines
21+
1022
- uses: andresz1/size-limit-action@v1
1123
with:
24+
skip_step: install
1225
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)