Skip to content

v3.1.0

v3.1.0 #8

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
publish:
name: Publish NPM package
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Publish package
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN_ORG }}