Skip to content

1.0.1

1.0.1 #6

Workflow file for this run

name: Publish Package
on:
release:
types: [published]
jobs:
publish-package:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Print NPM version 🌎
run: npm --version
- name: Install the dependencies 🧱
run: npm ci
- name: Test the package 🔧
run: npm run test
- name: Build the package 🔨
run: npm run build
- name: Deploy to npm 🚀
run: |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPMJS_AUTH_TOKEN }}
npm publish