Skip to content

chore(release): bump version to v4.0.5 #21

chore(release): bump version to v4.0.5

chore(release): bump version to v4.0.5 #21

# 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-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
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: 16
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 }}