Skip to content

Commit

Permalink
Do not use a private action on a public repository
Browse files Browse the repository at this point in the history
  • Loading branch information
rgs committed Oct 13, 2023
1 parent 6e8c41d commit d0c9b77
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ jobs:
id-token: write
packages: write
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Release action
uses: Spendesk/common-github-actions/spendesk-release@main
- uses: actions/checkout@v3
- id: setup-node
uses: actions/setup-node@v3
with:
skip-checks: false
dual-publish: false
use-semantic-release: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
node-version-file: package.json
registry-url: https://npm.pkg.github.com
- id: build-and-publish
shell: bash
run: |
npm ci
npm test
npm publish

0 comments on commit d0c9b77

Please sign in to comment.