Skip to content

Commit

Permalink
ci: create mock env files
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpatiiuk committed Apr 16, 2024
1 parent a13b8da commit e7ac1b6
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
cache: 'npm'
cache-dependency-path: ./src/package-lock.json

- name: Install dependencies
run: npm ci

- name: Create mock env files
run: |
cp ./backend/.env.example ./backend/.env.production.local
cp ./backend/.env.example ./backend/.env.development.local
- name: Build front-end
run: npx webpack --mode production

Expand All @@ -35,9 +40,9 @@ jobs:
- name: Set time zone to America/Chicago
uses: szenius/[email protected]
with:
timezoneLinux: "America/Chicago"
timezoneMacos: "America/Chicago"
timezoneWindows: "America/Chicago"
timezoneLinux: 'America/Chicago'
timezoneMacos: 'America/Chicago'
timezoneWindows: 'America/Chicago'

- name: Run JS test suite
run: |
Expand Down

0 comments on commit e7ac1b6

Please sign in to comment.