Skip to content

Release 🚀

Release 🚀 #2

Workflow file for this run

name: Release 🚀
on:
workflow_dispatch:
release:
types:
- published
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- run: npm set '//npm.pkg.github.com/:_authToken=${{ secrets.GHCR_TOKEN_RW }}'
- run: |
npm ci \
--include-workspace-root \
--omit=dev \
--omit=peer \
--omit=optional
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GHCR_TOKEN_RW }}