Skip to content

fix(ci): override @semantic-release/npm to v13 so OIDC verify is used #20

fix(ci): override @semantic-release/npm to v13 so OIDC verify is used

fix(ci): override @semantic-release/npm to v13 so OIDC verify is used #20

Workflow file for this run

name: CI
on:
push:
branches:
- main
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Lint
run: bun run lint
- name: Build
run: bun run build
- name: Test
run: bun test
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
registry-url: https://registry.npmjs.org
- name: Update npm
run: npm install -g npm@latest
- name: Release
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release