Skip to content

v0.1.3

v0.1.3 #4

Workflow file for this run

name: npm publish
on:
release:
types: [published]
workflow_dispatch:
jobs:
publish:
name: Publish to npm
runs-on: ubuntu-latest
environment: npm-publish
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: 22
cache: npm
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Run tests
run: npm run test
- name: Build web app and CLI
run: npm run build
- name: Publish to npm
run: npm publish --provenance --access public