Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,23 @@ jobs:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'

- name: Install Dependencies
run: |
npm install
run: pnpm install

- name: Prettier
run: |
npm run prettier
run: pnpm run prettier

- name: Lint
run: |
npm run lint
run: pnpm run lint

- name: Build
run: |
npm run build
run: pnpm run build

- name: Test
run: |
npm run test -- --coverage
run: pnpm run test
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,23 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'

- name: Install Dependencies
run: |
npm install
run: pnpm install

- name: Build project
run: |
npm run build
run: pnpm run build

- name: Push Release
if: ${{ !github.event.release.prerelease }}
run: |
npm publish --tag latest --access=public --provenance
run: pnpm publish --tag latest --access=public --provenance --no-git-checks

- name: Push Pre-Release
if: ${{ github.event.release.prerelease }}
run: |
npm publish --tag next --access=public --provenance
run: pnpm publish --tag next --access=public --provenance --no-git-checks
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
dist
coverage
.idea
package-lock.json
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The AuthKit library for Next.js provides convenient helpers for authentication a
Install the package with:

```
npm i @workos-inc/authkit-nextjs
pnpm i @workos-inc/authkit-nextjs
```

or
Expand Down
Loading