Skip to content

Commit

Permalink
fixup! nodejs 18
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Nov 2, 2022
1 parent 61b2d0b commit 9e09cfb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ jobs:
npx lerna run compile
- name: Unit tests
run: npm run test
run: |
# TODO(legendecas): webpack https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
if [ "${{ matrix.node_version }}" = "18" ]; then
export NODE_OPTIONS=--openssl-legacy-provider
fi
npm run test
- name: Report Coverage
run: npm run codecov
if: ${{ matrix.node_version == '14' }}
Expand Down

0 comments on commit 9e09cfb

Please sign in to comment.