5.0.2 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Build the package 🔧 | |
run: npm run build | |
- name: Deploy to NPMJS 🚀 | |
run: | | |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPMJS_AUTH_TOKEN }} | |
npm publish |