Skip to content

(MINOR) bump dependency version #2

(MINOR) bump dependency version

(MINOR) bump dependency version #2

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- master
jobs:
publish:
runs-on: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- uses: paulhatch/[email protected]
id: semver
- name: Build & Tag
run: |
npm install
npm run build
npm version ${{ steps.semver.outputs.version }} --no-git-tag-version
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Publish Github Release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ steps.semver.outputs.version }}
draft: false