-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update npm-publish-github-packages.yml
- Loading branch information
1 parent
c1d7cc6
commit d496458
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,22 +9,26 @@ on: | |
workflow_dispatch: {} | ||
|
||
jobs: | ||
build: | ||
bump-version: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
- name: Automated Version Bump | ||
uses: phips28/[email protected] | ||
with: | ||
node-version: 20 | ||
|
||
publish-gpr: | ||
needs: build | ||
skip-tag: true | ||
publish: | ||
runs-on: ubuntu-latest | ||
needs: bump-version | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref_name }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|