Skip to content

Commit

Permalink
github action node support
Browse files Browse the repository at this point in the history
  • Loading branch information
cameroncaci committed Nov 18, 2024
1 parent 86bd85c commit 5e346bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -24,7 +24,7 @@ jobs:

- name: Build
run: |
if [ "${{ matrix.node-version }}" == "18.x" ]; then
if [ "${{ matrix.node-version }}" == "18.x" ] || [ "${{ matrix.node-version }}" == "20.x" ]; then
export NODE_OPTIONS=--openssl-legacy-provider
fi
npm install
Expand Down

0 comments on commit 5e346bc

Please sign in to comment.