Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
victorcuena authored Aug 8, 2023
1 parent 4d608c0 commit 934c7af
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: ./.github/workflows/build.yml
with:
node-version: 18.x
- uses: ./.github/workflows/build.yml@main
- name: Deploy package
if: github.ref == 'refs/heads/main'
run: npm publish --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 934c7af

Please sign in to comment.