Skip to content

build: bump version from v0.9.0 to v0.9.1 #44

build: bump version from v0.9.0 to v0.9.1

build: bump version from v0.9.0 to v0.9.1 #44

Workflow file for this run

name: Node.js CI/CD
on: [push]
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: yarn
- run: yarn test
release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Release
uses: softprops/action-gh-release@v1
publish-npm:
needs: release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn publish --access public