Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Sep 24, 2022
1 parent d192733 commit 2eb2f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ jobs:

- name: Run tests and generate coverage
run: yarn test:coverage --ci --shard=${{ matrix.shard }}
env:
NODE_PATH: ${{ github.workspace }}/node_modules

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down
5 changes: 4 additions & 1 deletion test/utils/test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ const createProcess = (cwd, args, options) => {
reject: false,
stdio: ENABLE_LOG_COMPILATION ? "inherit" : "pipe",
maxBuffer: Infinity,
env: { WEBPACK_CLI_HELP_WIDTH: 1024 },
env: {
WEBPACK_CLI_HELP_WIDTH: 1024,
NODE_PATH: path.resolve(__dirname, "../../node_modules"),
},
...options,
});
};
Expand Down

0 comments on commit 2eb2f22

Please sign in to comment.