Skip to content

Commit

Permalink
move NODE_ENV into GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Dec 27, 2023
1 parent ffb0979 commit b2b5a94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
env:
NODE_ENV: test

get-lts:
needs: lint
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"scripts": {
"lint": "npx eslint index.js lib/*.js test/*.js",
"lintfix": "npx eslint --fix index.js lib/*.js test/*.js",
"test": "NODE_ENV=test npx mocha"
"test": "npx mocha"
}
}

0 comments on commit b2b5a94

Please sign in to comment.