Skip to content

3.0.6

3.0.6 #16

# https://gist.github.com/paullessing/d706c8af51faca68c6ba0f9f9bae4e4b#file-release-when-tagged-yml
name: 📦☁️ Release
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build:
name: 📦☁️ Release
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
scope: '@netresearch'
- name: ⚡ Install dependencies
run: yarn install --frozen-lockfile
- name: ☁️ Publish to NPM
run: yarn publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: 'https://npm.pkg.github.com'
scope: '@netresearch'
- name: ☁️ Publish to GitHub Package Registry
run: yarn publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}