Skip to content

v1.1.2

v1.1.2 #1333

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
build-and-publish:
name: Build and Publish to NPM Registry
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm ci
- name: Execute test cases
run: npm test
- name: Build Lib
run: npm run build-lib
- name: Publish to NPM Registry
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}