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 6867c5a commit 6b0aabe
Show file tree
Hide file tree
Showing 4 changed files with 318 additions and 247 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 6b0aabe

Please sign in to comment.