Skip to content

0.4.2

0.4.2 #27

Workflow file for this run

name: 📦 publish to npm
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
if: "! github.event.pull_request.head.repo.fork"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- run: npm run build -s
- run: npm test
- name: 🚀 npm publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
access: public