Skip to content
Merged
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
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [18, 20]
node: [18, 22]
runs-on: ${{ matrix.os }}
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
id-token: write # required for npm trusted publishing (OIDC)
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -64,10 +64,12 @@ jobs:
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test
- name: Update npm for trusted publishing
# actions/setup-node ships npm 10.x; OIDC trusted publishing needs >= 11.5.1
if: matrix.os == 'ubuntu-latest' && matrix.node == 22 && github.event_name == 'push' && github.ref == 'refs/heads/main'
run: npm install -g npm@latest
- name: Maybe Release
if: matrix.os == 'ubuntu-latest' && matrix.node == 20 && github.event_name == 'push' && github.ref == 'refs/heads/main'
if: matrix.os == 'ubuntu-latest' && matrix.node == 22 && github.event_name == 'push' && github.ref == 'refs/heads/main'
Comment thread
vercel[bot] marked this conversation as resolved.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}
NPM_CONFIG_PROVENANCE: 'true'
run: pnpm dlx semantic-release@24.2.3
run: pnpm dlx semantic-release@25.0.5
Loading