Skip to content

Commit

Permalink
ci: fix node version input
Browse files Browse the repository at this point in the history
  • Loading branch information
hegerdes committed Jun 13, 2023
1 parent fe17fd4 commit 6b5be93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -30,7 +31,12 @@ jobs:
run: npm install

- name: Build app
run: npm run dist
run: |
# Running test
if [[ "$(node --version)" == "v18"* ]]; then
export NODE_OPTIONS=--openssl-legacy-provider
fi
npm run dist
- name: Upload artifacts
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 6b5be93

Please sign in to comment.