Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
ci(workflows): fix cannot find module ../loaders/env.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 10, 2021
1 parent edd1eb2 commit f2dd2eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,13 @@ jobs:
NODE_AUTH_TOKEN: ${{ env.PAT_GPR }}
- id: env
name: Set environment variables
working-directory: ${{ needs.deployment-info.outputs.directory }}
run: node_modules/.bin/loadenv -gc=production
run: node ./tools/cli/loadenv.cjs -gc=production
- id: build
name: Build project
working-directory: ${{ needs.deployment-info.outputs.directory }}
run: yarn build --tarball
- id: unset-node-options
name: Unset NODE_OPTIONS
working-directory: ${{ needs.deployment-info.outputs.directory }}
run: echo "NODE_OPTIONS=''" >> $GITHUB_ENV
- id: publish-to-gpr
name: Publish package [GPR]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
NODE_AUTH_TOKEN: ${PAT_GPR}
- id: env
name: Set environment variables
run: node_modules/.bin/loadenv -gc=test
run: node ./tools/cli/loadenv.cjs -gc=test
- id: check-format
name: Check code formatting
run: yarn check:format
Expand Down

0 comments on commit f2dd2eb

Please sign in to comment.