Set CI environment variable to NODE_ENV=production during linting (#73)

This commit is contained in:
Keavon Chambers
2021-04-14 01:27:01 -07:00
parent 39286f8d78
commit 57540ed5ef
4 changed files with 8 additions and 4 deletions

View File

@@ -25,11 +25,11 @@ jobs:
- name: 🚧 Install Node dependencies
run: cd client/web && npm install
- name: 👷 Build Graphite web client
- name: 🌐 Build Graphite web code
run: cd client/web && npm run build
- name: 👕 Lint Graphite web formatting
run: cd client/web && npm run lint
run: export NODE_ENV=production && cd client/web && npm run lint
- name: 🔬 Check Rust formatting
run: cargo fmt --all -- --check