Skip to content

Commit 2e14c6c

Browse files
committed
chore: Move to pnpm 10
1 parent 72ae400 commit 2e14c6c

File tree

9 files changed

+3486
-5880
lines changed

9 files changed

+3486
-5880
lines changed

.github/workflows/lint.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
12-
- run: npm i
13-
- run: npm run lint:formatting
14-
- run: npm run lint:check-frontmatter
12+
- name: Install package manager
13+
run: |
14+
corepack enable
15+
corepack prepare --activate
16+
- run: pnpm i
17+
- run: pnpm run lint:formatting
18+
- run: pnpm run lint:check-frontmatter
1519

1620
check_quickstarts:
1721
runs-on: ubuntu-latest
@@ -25,10 +29,14 @@ jobs:
2529
git fetch origin ${{ github.base_ref }}
2630
git checkout ${{ github.base_ref }}
2731
git checkout ${{ github.sha }}
28-
- run: npm i
32+
- name: Install package manager
33+
run: |
34+
corepack enable
35+
corepack prepare --activate
36+
- run: pnpm i
2937
- id: check
3038
run: |
31-
OUTPUT=$(npm run lint:check-quickstarts | tail -n +4)
39+
OUTPUT=$(pnpm run lint:check-quickstarts | tail -n +4)
3240
# We need this specific syntax because the output has multiple lines
3341
echo "output<<EOF" >> $GITHUB_OUTPUT
3442
echo "$OUTPUT" >> $GITHUB_OUTPUT

.github/workflows/test-build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- run: npm i
16-
- run: npm run test
15+
- name: Install package manager
16+
run: |
17+
corepack enable
18+
corepack prepare --activate
19+
- run: pnpm i
20+
- run: pnpm run test

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
data/api_errors.json
22
clerk-typedoc/
3-
local-clerk-typedoc/
3+
local-clerk-typedoc/
4+
pnpm-lock.yaml

0 commit comments

Comments
 (0)