Skip to content

Commit

Permalink
ci(workflows): fix environment variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Sep 19, 2021
1 parent efd32b2 commit e9144b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,16 @@ jobs:
name: Build project
run: yarn workspace ${{ needs.deployment-info.outputs.workspace }} build
env:
NODE_ENV: production
NODE_OPTIONS: -r tsconfig-paths/register
- id: publish-to-gpr
name: Publish package [GPR]
working-directory: ${{ needs.deployment-info.outputs.directory }}
run: npm publish ${{ needs.deployment-info.outputs.publish_args }}
env:
NODE_AUTH_TOKEN: ${{ secrets.PAT_GPR_FLDV_ADMIN }}
NODE_ENV: production
NODE_OPTIONS: -r tsconfig-paths/register
- id: setup-npmrc-npm
name: Setup .npmrc file [NPM]
uses: actions/setup-node@v2
Expand All @@ -119,6 +122,8 @@ jobs:
run: npm publish ${{ needs.deployment-info.outputs.publish_args }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_FLDV }}
NODE_ENV: production
NODE_OPTIONS: -r tsconfig-paths/register
update-production-branch:
name: Update production branch
needs: publish-package
Expand Down

0 comments on commit e9144b5

Please sign in to comment.