Skip to content

0.0.4

0.0.4 #4

Workflow file for this run

name: Release
on:
release:
types: [created]
workflow_call:
secrets:
npm_token:
required: true
jobs:
ci:
name: CI Checks
uses: ./.github/workflows/ci.yaml
release:
runs-on: ubuntu-latest
needs: ci
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup npm authentication
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Publish
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}