Skip to content

ci: migrate to GitHub Packages private npm registry #2

ci: migrate to GitHub Packages private npm registry

ci: migrate to GitHub Packages private npm registry #2

Workflow file for this run

name: Publish package to GitHub Packages
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v5
- run: yarn install --frozen-lockfile
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
registry-url: 'https://npm.pkg.github.com'
- run: yarn publish --ignore-scripts --no-git-tag-version
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}