mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 09:53:48 +00:00
add step to publish to NPM as well
This commit is contained in:
@@ -41,9 +41,16 @@ jobs:
|
||||
- name: Build CLI
|
||||
run: pnpm build:cli
|
||||
|
||||
- name: Release
|
||||
- name: Release Binary
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: './apps/cli/dist/*'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Publish to NPM
|
||||
run: pnpm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NPM_CONFIG_PROVENANCE: true
|
||||
working-directory: ./apps/cli
|
||||
Reference in New Issue
Block a user