Skip to content

Canary release

Canary release #22

Workflow file for this run

name: Canary release
on: workflow_dispatch
jobs:
canary-publish:
name: Publish Packages (canary)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- uses: docker://pandoc/core:2.6
with:
args: --output=README.md README.rst
- run: yarn
- run: yarn build
- run: yarn version --new-version "0.0.0-${GITHUB_SHA::8}" --no-git-tag-version
- run: npm publish --access public --tag canary
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}