Skip to content

follow the docs

follow the docs #7

Workflow file for this run

name: publish
on:
push:
tags:
- "v*"
permissions:
id-token: write # Required for OIDC
contents: read
env:
INERTIACORE_BYPASS_ENV_CHECK: 1
jobs:
publish:
runs-on: ubuntu-latest
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 build --if-present
- run: npm test
- run: rm -f .npmrc ~/.npmrc
- run: npm publish
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true