Skip to content

Commit 97f9147

Browse files
committed
Avoid NODE_ENV usage in GitHub workflows
1 parent c59b34c commit 97f9147

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/publish-npm-package.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
workflow_dispatch:
77

88
env:
9-
NODE_ENV: production
109
NODE_VERSION: '10.x'
1110

1211
jobs:

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
"test:deps": "npx depcheck --ignores=\"@types/*\"",
4040
"posttest": "npm run check",
4141
"package": "npx yarn pack --filename openapi-cop.tgz",
42-
"preinstall": "npx per-env",
43-
"preinstall:production": "",
44-
"preinstall:development": "(test -d mock-server && cd mock-server && npm install) || true"
42+
"preinstall": "(test -d mock-server && cd mock-server && npm install) || true"
4543
},
4644
"dependencies": {
4745
"@types/express": "4.17.13",

0 commit comments

Comments
 (0)