Skip to content

v1.0.2

v1.0.2 #14

Workflow file for this run

name: Release on NPM JS
on:
release:
types:
- created
jobs:
release-on-npm-js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm ci
working-directory: ./addon
- name: Build
run: npm run build --if-present
working-directory: ./addon
- name: Copy LICENSE
run: cp ./LICENSE ./addon/
- name: Copy README.md
run: cp ./README.md ./addon/
- name: Update Version Number ...
run: npm version ${{ github.event.release.tag_name }}
working-directory: ./addon
- name: Publish on NPM JS
uses: JS-DevTools/npm-publish@v2
with:
access: public
package: ./addon/package.json
token: ${{ secrets.NPM_TOKEN }}