Merge pull request #6 from web-illinois/jonker/BugFixes #5
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_npm | |
on: | |
workflow_dispatch: | |
push: | |
tags: [ '**' ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout GitHub Action' | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '22.x' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: npm ci | |
- name: Install to npm | |
run: npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.TOOLKIT_NPM_SECRET}} |