Skip to content

1.1.3-0

1.1.3-0 #5

Workflow file for this run

name: Release
on:
push: { tags: 'v[0-9]+.[0-9]+.[0-9]+*' }
permissions: { contents: read }
jobs:
github:
runs-on: ubuntu-latest
permissions: { contents: write }
steps:
- uses: actions/checkout@v4
- run: |
# shellcheck disable=SC2086
gh release create ${tag/*-*/$tag --prerelease} --generate-notes
env:
GH_TOKEN: ${{ github.token }}
tag: ${{ github.ref_name }}
npm:
runs-on: ubuntu-latest
permissions: { id-token: write }
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}