Skip to content

Commit

Permalink
docs: workflow for publishing new release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianmusial committed Mar 14, 2024
1 parent 45e77db commit 39f12c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
name: Publish package to GitHub Packages
#on:
# release:
# types: [published]
on:
release:
types: [published]
pull_request:
branches:
- master
- main
- next
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -17,6 +23,6 @@ jobs:
registry-url: 'https://npm.pkg.github.com'
scope: '@boldare'
- run: npm ci
- run: npm publish
- run: npm run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.BOLDARE_GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"format": "nx format:write",
"prepare": "husky"
},
"private": true,
"private": false,
"dependencies": {
"@angular/animations": "~17.0.0",
"@angular/cdk": "^17.0.5",
Expand Down

0 comments on commit 39f12c8

Please sign in to comment.