Skip to content

1.0.1

1.0.1 #7

Workflow file for this run

name: release
on:
push:
tags: [ "v[0-9]+.[0-9]+.[0-9]+" ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: npm
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- run: gh release create ${{ github.ref_name }} --generate-notes --draft
env:
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}