Skip to content

Release Minor Version #11

Release Minor Version

Release Minor Version #11

Workflow file for this run

name: Release Minor Version
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test
publish-npm-minor:
needs: build
runs-on: ubuntu-latest
if: contains(github.event.release.body, '#minor')
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm version minor
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOK }}
- name: Push new version tag
run: |
git push origin HEAD --tags