Skip to content

Commit

Permalink
Create publish_npm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanjonker-illinois authored Aug 21, 2024
1 parent ec50651 commit 00dd37e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish_npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: publish_npm
on:
workflow_dispatch:
push:
tags: [ '**' ]
pull_request:
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 to npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.TOOLKIT_NPM_SECRET}}

0 comments on commit 00dd37e

Please sign in to comment.