Skip to content

Commit f286408

Browse files
authored
Merge pull request #2 from Coder-Spirit/enable-ci
fix: run corepack enable before calling pnpm
2 parents 4f15b1a + b789c33 commit f286408

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +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: pnpm install
32-
- run: pnpm lint
33-
- 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
3442
# - run: pnpm test

0 commit comments

Comments
 (0)