Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 5ae284b

Browse files
committed
ci: fix bundlesize action
1 parent 0621daa commit 5ae284b

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/pr.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ jobs:
6666
bundlesize:
6767
runs-on: ubuntu-latest
6868
steps:
69+
- name: Setup Node.js 18.x
70+
uses: actions/setup-node@master
71+
with:
72+
node-version: 18.x
73+
74+
- uses: pnpm/action-setup@v2
75+
name: Install pnpm
76+
id: pnpm-install
77+
with:
78+
version: 7
79+
run_install: false
80+
6981
- name: Get pnpm store directory
7082
id: pnpm-cache
7183
shell: bash
@@ -83,11 +95,6 @@ jobs:
8395
- name: Checkout
8496
uses: actions/checkout@master
8597

86-
- name: Setup Node.js 18.x
87-
uses: actions/setup-node@master
88-
with:
89-
node-version: 18.x
90-
9198
- name: compressed-size-action
9299
uses: preactjs/compressed-size-action@v2
93100
with:

0 commit comments

Comments
 (0)