Skip to content

Upload changes to the npm and yarn registries #2

Upload changes to the npm and yarn registries

Upload changes to the npm and yarn registries #2

Workflow file for this run

name: Upload changes to the npm and yarn registries
run-name: Upload changes to the npm and yarn registries
on:
push:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.1
with:
node-version: '21.x'
- run: yarn install --immutable
- run: yarn setversion
- run: yarn compile
- uses: JS-DevTools/npm-publish@v3.0.1
with:
token: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v3.0.1
with:
token: ${{ secrets.REGIRSTY_PUBLISH_TOKEN }}
registry: 'https://npm.pkg.github.com'