Skip to content

v0.6.0-rc.0

v0.6.0-rc.0 #53

Workflow file for this run

name: Create new Github Release and publish to NPM
on:
push:
tags:
- v*
jobs:
release:
name: "New Release from version Tag"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm pack
- uses: ncipollo/release-action@v1
with:
artifacts: "*.tgz"
generateReleaseNotes: true
token: ${{ secrets.GITHUB_TOKEN }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}