Skip to content

Commit

Permalink
Fixed publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpolavar committed Feb 8, 2024
1 parent cb7f0b4 commit 485d4c1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,20 @@ jobs:
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Check Label
uses: checkdigit/github-actions/check-label@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check Imports
uses: checkdigit/github-actions/check-imports@main
- name: Install dependencies
- name: Install Dependencies
run: npm ci --ignore-scripts
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Audit Signatures
run: npm audit signatures
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Run Test
run: npm run ci:test
- name: Prepare Beta
Expand All @@ -33,7 +41,7 @@ jobs:
- name: Publish Beta
run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_PUBLISH }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN_PUBLISH }}
- name: Comment npm publish result
uses: checkdigit/github-actions/comment-npm-publish@main
with:
Expand Down

0 comments on commit 485d4c1

Please sign in to comment.