Skip to content

Commit

Permalink
Merge pull request #1149 from serlo/fix-publish
Browse files Browse the repository at this point in the history
chore: Fix deploy workflow for npm packages
  • Loading branch information
kulla authored Nov 30, 2023
2 parents c5a96b9 + 9d87b80 commit 298ce6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
cache: yarn
node-version-file: .tool-versions
registry-url: 'https://registry.npmjs.org'
- run: yarn --immutable --immutable-cache --check-cache
- run: yarn build
- run: yarn --immutable --immutable-cache
- 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 298ce6d

Please sign in to comment.