Skip to content

Commit

Permalink
Add env file creation to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
okaycj committed Oct 28, 2024
1 parent 2a3ce6d commit 14eed0a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
node: ["18.x", "20.x"]

steps:
- uses: actions/checkout@v4
Expand All @@ -25,6 +25,12 @@ jobs:
- name: Install NPM dependencies
run: npm ci

- name: Create environment file
run: printenv > .env
env:
DEBUG: "false"
LOCAL_DOWNLOAD: "false"

- name: Build packages
run: npm run build

Expand Down

0 comments on commit 14eed0a

Please sign in to comment.