Skip to content

Commit

Permalink
add wf npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard committed Jul 21, 2023
1 parent 7437673 commit e87c360
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish NPM Package
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v3
- name: Build Setup
uses: ./.github/actions/build-setup
with:
registry-url: 'https://registry.npmjs.org'
- run: npm publish -w packages/lib
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e87c360

Please sign in to comment.