Skip to content

v0.2.8

v0.2.8 #17

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: Set version from git tag
run: npm version "${GITHUB_REF_NAME#v}" --no-git-tag-version --allow-same-version
- run: npm ci
- run: npm run typecheck
- run: npm test
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}