Skip to content

Commit b789c33

Browse files
committed
fix: install PNPM with action instead of corepack
1 parent 814bfbc commit b789c33

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,21 @@ jobs:
2222
runs-on: ${{ matrix.os }}
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- name: Checkout repository
26+
uses: actions/checkout@v3
27+
- name: Install PNPM
28+
uses: pnpm/action-setup@v2
29+
with:
30+
version: 8
2631
- name: Use Node.js ${{ matrix.node-version }}
2732
uses: actions/setup-node@v3
2833
with:
2934
node-version: ${{ matrix.node-version }}
3035
cache: 'pnpm'
31-
- run: corepack enable
32-
- run: corepack prepare pnpm@latest-8 --activate
33-
- run: pnpm install
34-
- run: pnpm lint
35-
- run: pnpm build
36+
- name: Install dependencies
37+
run: pnpm install
38+
- name: Run Linters
39+
run: pnpm lint
40+
- name: Build Library
41+
run: pnpm build
3642
# - run: pnpm test

0 commit comments

Comments
 (0)