File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,26 +19,23 @@ jobs:
1919 node : [18, 20, 22]
2020 steps :
2121 - uses : actions/checkout@v4
22+ - uses : pnpm/action-setup@v4
2223 - uses : actions/setup-node@v4
2324 with :
2425 node-version : ${{ matrix.node }}
26+ cache : ' pnpm'
2527
2628 - name : Install Dependencies
27- run : |
28- npm install
29+ run : pnpm install
2930
3031 - name : Prettier
31- run : |
32- npm run prettier
32+ run : pnpm run prettier
3333
3434 - name : Lint
35- run : |
36- npm run lint
35+ run : pnpm run lint
3736
3837 - name : Build
39- run : |
40- npm run build
38+ run : pnpm run build
4139
4240 - name : Test
43- run : |
44- npm run test -- --coverage
41+ run : pnpm run test
Original file line number Diff line number Diff line change @@ -20,25 +20,23 @@ jobs:
2020 id-token : write
2121 steps :
2222 - uses : actions/checkout@v4
23+ - uses : pnpm/action-setup@v4
2324 - uses : actions/setup-node@v4
2425 with :
2526 node-version : 24
2627 registry-url : ' https://registry.npmjs.org'
28+ cache : ' pnpm'
2729
2830 - name : Install Dependencies
29- run : |
30- npm install
31+ run : pnpm install
3132
3233 - name : Build project
33- run : |
34- npm run build
34+ run : pnpm run build
3535
3636 - name : Push Release
3737 if : ${{ !github.event.release.prerelease }}
38- run : |
39- npm publish --tag latest --access=public --provenance
38+ run : pnpm publish --tag latest --access=public --provenance --no-git-checks
4039
4140 - name : Push Pre-Release
4241 if : ${{ github.event.release.prerelease }}
43- run : |
44- npm publish --tag next --access=public --provenance
42+ run : pnpm publish --tag next --access=public --provenance --no-git-checks
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ node_modules
33dist
44coverage
55.idea
6+ package-lock.json
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ The AuthKit library for Next.js provides convenient helpers for authentication a
99Install the package with:
1010
1111```
12- npm i @workos-inc/authkit-nextjs
12+ pnpm i @workos-inc/authkit-nextjs
1313```
1414
1515or
You can’t perform that action at this time.
0 commit comments