Skip to content

Commit

Permalink
Refactor npm commands in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HlexNC authored Mar 26, 2024
1 parent e165349 commit ff2c89d
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 @@ -15,9 +15,7 @@ jobs:
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org/'
- run: npm ci
working-directory: officegen-api/
- run: npm publish --access private
working-directory: officegen-api/
- run: cd officegen-api/ && npm ci
- run: cd officegen-api/ && npm publish --access private
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit ff2c89d

Please sign in to comment.