Skip to content

Release

Release #22

Workflow file for this run

name: Release
on: workflow_dispatch
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
# Setup .npmrc file to publish to GitHub Packages
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm config ls
- name: Release
run: |
git config user.name "Release Workflow"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
npm run release-ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}