Skip to content

Commit

Permalink
Avoid NODE_ENV usage in GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuengas committed Oct 28, 2022
1 parent c59b34c commit 97f9147
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
workflow_dispatch:

env:
NODE_ENV: production
NODE_VERSION: '10.x'

jobs:
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@
"test:deps": "npx depcheck --ignores=\"@types/*\"",
"posttest": "npm run check",
"package": "npx yarn pack --filename openapi-cop.tgz",
"preinstall": "npx per-env",
"preinstall:production": "",
"preinstall:development": "(test -d mock-server && cd mock-server && npm install) || true"
"preinstall": "(test -d mock-server && cd mock-server && npm install) || true"
},
"dependencies": {
"@types/express": "4.17.13",
Expand Down

0 comments on commit 97f9147

Please sign in to comment.