Skip to content

Commit

Permalink
gh workflow env var fix (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored Jan 13, 2023
1 parent 01c5d85 commit 3c024ce
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env: NODE_OPTIONS=--openssl-legacy-provider
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: 18
- name: Install modules
run: npm install
- name: Tests
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm run test:headless
- name: Run Prod Build
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm run build:prod

0 comments on commit 3c024ce

Please sign in to comment.