Skip to content

chore: 🔖update package.json version to 0.2.0 #7

chore: 🔖update package.json version to 0.2.0

chore: 🔖update package.json version to 0.2.0 #7

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
publish:
name: Publish to NPM
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v1
with:
name: build
path: build
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
access: public
token: ${{ secrets.NPM_TOKEN }}