Skip to content

Commit

Permalink
build: set build env opt
Browse files Browse the repository at this point in the history
  • Loading branch information
ludviglundgren committed Feb 2, 2023
1 parent 08f592b commit 450109e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:

- name: Build website
run: yarn build
env:
NODE_OPTIONS: "--openssl-legacy-provider"

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ jobs:

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Test build website
run: yarn build
run: yarn build
env:
NODE_OPTIONS: "--openssl-legacy-provider"

0 comments on commit 450109e

Please sign in to comment.