Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/actions/test-and-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
# https://github.com/nodejs/node-gyp/issues/2869
- uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"

- name: Run node-gyp bug workaround script
run: |
Expand Down Expand Up @@ -116,7 +116,10 @@ runs:
env:
SNYK_TOKEN: ${{ inputs.SNYK_TOKEN }}
run: |
npm run snyk-test > /dev/null 2>&1
npm run snyk-test
EXIT_CODE=$?
echo "Exit code $EXIT_CODE"
exit $EXIT_CODE"

- name: Create Jira Tickets
if: >
Expand Down
2 changes: 1 addition & 1 deletion scripts/snyk-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function snykTest(cwd) {
}

const res = JSON.parse(await fs.readFile(tmpPath));
console.info(`testing ${cwd} done.`);
console.info(`testing ${cwd} done.`, res);
return res;
} catch (err) {
console.error(`testing ${cwd} failed. ${err.message}`);
Expand Down
Loading