Skip to content

Commit

Permalink
Merge pull request #156 from lpsinger/npm
Browse files Browse the repository at this point in the history
Publish to NPM
  • Loading branch information
dakota002 authored Jun 25, 2024
2 parents beb5190 + 91e1629 commit 37635ce
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,22 @@ on:
- '*'

jobs:
build:
github:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v2
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 37635ce

Please sign in to comment.