Skip to content

Commit

Permalink
fix: Npm publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nepsyn committed Mar 21, 2024
1 parent e300e77 commit 8eb62dd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm install @nestjs/cli -g
- run: npm run build
- run: yarn install
working-directory: packages/server
- run: yarn global add @nestjs/cli
- run: yarn run build
working-directory: packages/server
- run: npm publish
working-directory: packages/server
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 8eb62dd

Please sign in to comment.