Skip to content

Commit 88ae311

Browse files
committed
chore(workflows): fix node options cleanup in publish-package job
1 parent 4487c15 commit 88ae311

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/continuous-deployment.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ jobs:
116116
name: Build project
117117
working-directory: ${{ needs.deployment-info.outputs.directory }}
118118
run: yarn build --tarball
119+
- id: unset-node-options
120+
name: Unset NODE_OPTIONS
121+
working-directory: ${{ needs.deployment-info.outputs.directory }}
122+
run: echo "NODE_OPTIONS=''" >> $GITHUB_ENV
119123
- id: publish-to-gpr
120124
name: Publish package [GPR]
121125
working-directory: ${{ needs.deployment-info.outputs.directory }}
@@ -137,10 +141,6 @@ jobs:
137141
run: npm publish ${{ needs.deployment-info.outputs.publish_args }}
138142
env:
139143
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
140-
- id: env-post
141-
name: Post Set environment variables
142-
working-directory: ${{ needs.deployment-info.outputs.directory }}
143-
run: echo "NODE_OPTIONS=''" >> $GITHUB_ENV
144144
update-production-branch:
145145
name: Update production branch
146146
needs: publish-package

0 commit comments

Comments
 (0)