NODE_ENV production for deploy not build
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -14,6 +14,8 @@ jobs:
|
||||
node-version: 10.x
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
env:
|
||||
NODE_ENV: production
|
||||
- run: npm test
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.4
|
||||
|
||||
@@ -17,6 +17,4 @@ jobs:
|
||||
node-version: 10.x
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
env:
|
||||
NODE_ENV: production
|
||||
- run: npm test
|
||||
Reference in new issue
Block a user