Skip to content

Commit

Permalink
remove node_env from workflows as they are not needed
Browse files Browse the repository at this point in the history
close #6
  • Loading branch information
jaylenw committed May 16, 2023
1 parent 8c2bc8f commit 5182f23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/example-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,4 @@ jobs:
node-version: '16.x'
- name: Application Tests
run: npm test
# needed so we force the tests to run in test mode as if we did not have it, it detects it's inside github actions and runs as if in production.
env:
NODE_ENV: test

2 changes: 0 additions & 2 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ jobs:
uses: mattallty/jest-github-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# needed so we force the tests to run in test mode as if we did not have it, it detects it's inside github actions and runs as if in production.
NODE_ENV: test

0 comments on commit 5182f23

Please sign in to comment.