Skip to content

ci: replace the deprecated actions/create-release@v1 with `gh relea… #81

ci: replace the deprecated actions/create-release@v1 with `gh relea…

ci: replace the deprecated actions/create-release@v1 with `gh relea… #81

Workflow file for this run

name: publish
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24'
- run: npm ci
- run: npm run build --if-present
env:
CI: true
publish-npm:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24'
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run prerelease
- run: npm publish --provenance --access public --ignore-scripts