Release #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |