Skip to content

Commit

Permalink
chore: Fix deploy workflow for npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kulla committed Nov 30, 2023
1 parent 1b23fe5 commit 9d87b80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
node-version-file: .tool-versions
registry-url: 'https://registry.npmjs.org'
- run: yarn --immutable --immutable-cache
- run: yarn build
- run: yarn build:packages
- run: echo //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN} > .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"_build": "ts-node --experimental-specifier-resolution=node scripts/build",
"build:server": "yarn _build packages/server/src/server.ts server.cjs",
"build:swr-queue-worker": "yarn _build packages/server/src/swr-queue-worker.ts swr-queue-worker.cjs",
"build:packages": "yarn lerna run build",
"changelog": "ts-node-esm scripts/changelog.ts",
"check:all": "scripts/run_all_checks.sh",
"check:unused-dependencies": "depcheck",
Expand Down

0 comments on commit 9d87b80

Please sign in to comment.