Skip to content

Commit

Permalink
set node env
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed Dec 3, 2024
1 parent 00f7810 commit cf0ea3b
Show file tree
Hide file tree
Showing 4 changed files with 386 additions and 333 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,20 @@ jobs:
node-version: 20

- name: build
env:
NODE_ENV: development
run: |
npm ci && npm run build
- name: check
env:
NODE_ENV: development
run: |
npm run check
- name: lint
env:
NODE_ENV: development
run: |
npm run lint
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build
env:
NODE_ENV: production
run: |
npm ci
npm run build
Expand Down
Loading

0 comments on commit cf0ea3b

Please sign in to comment.