Skip to content

Commit

Permalink
Explicit quotes for NODE_OPTIONS environment variable in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
piranna committed Oct 11, 2023
1 parent 03e6d95 commit cebbf72
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@ jobs:

# Tests
- name: Run tests
env:
NODE_OPTIONS: >
run: >
NODE_OPTIONS='
--test-reporter=spec
--test-reporter-destination=stdout
--test-reporter=node-test-github-reporter
--test-reporter-destination=stderr
--test-reporter=@mafalda-sfu/test-reporter-json
--test-reporter-destination=coverage.json
run: npm test
' npm test
- run: test -f coverage.json # Ensure coverage.json has been created

# Docs
- name: Generate docs
Expand Down

0 comments on commit cebbf72

Please sign in to comment.