Skip to content

Commit

Permalink
ci: 🎡 Pubish to GHPR by default
Browse files Browse the repository at this point in the history
  • Loading branch information
LudvigHz committed Jun 20, 2024
1 parent 665d356 commit a3ab93f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
node-version: 20
cache: 'npm'
registry-url: https://npm.pkg.github.com
- name: Install dependencies
run: npm ci
- name: Test
Expand All @@ -29,4 +30,4 @@ jobs:
run: npx semantic-release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-ghpr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.release }}
registry-url: https://npm.pkg.github.com
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
registry-url: https://npm.pkg.github.com
- name: Set version
run: npm version ${{ github.event.inputs.release }} --allow-same-version --git-tag-version=false
- name: Install dependencies
Expand Down

0 comments on commit a3ab93f

Please sign in to comment.