Skip to content

Commit

Permalink
fix: Node version
Browse files Browse the repository at this point in the history
  • Loading branch information
essj committed Jul 5, 2023
1 parent d1cb8db commit 46b558e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1.4.4
with:
node-version: 12.x
node-version: 18.x
# export NODE_OPTIONS=--openssl-legacy-provider
- run: echo 'NODE_OPTIONS="--openssl-legacy-provider"' >> $GITHUB_ENV

- name: Dependencies
run: yarn install --frozen-lockfile
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1.4.4
with:
node-version: 12.x
node-version: 18.x
- run: echo 'NODE_OPTIONS="--openssl-legacy-provider"' >> $GITHUB_ENV

- name: Dependencies
run: yarn install --frozen-lockfile
Expand Down

0 comments on commit 46b558e

Please sign in to comment.