Skip to content

v2.2.2

v2.2.2 #13

Workflow file for this run

name: publish
# Run when a new Github publish is released
on:
release:
types: [released]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install packages
run: npm install
- name: Build project and dependencies
run: npm run build
- name: Run unit tests and generate report
run: npm run test:ci
- name: Publish package
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
access: "public"