Skip to content

Commit 13d4ef9

Browse files
committed
chore: update action env
1 parent cfd4bc8 commit 13d4ef9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
name: Release
22
on:
33
workflow_run:
4-
workflows: ["Lint & Unit Test"]
4+
workflows: ['Lint & Unit Test']
55
branches: [master]
6-
types:
6+
types:
77
- completed
88

99
permissions:
1010
contents: read # for checkout
1111

1212
jobs:
1313
release:
14+
env: # temporary workaround for "Error: error:0308010C:digital envelope routines::unsupported" in Node lts / 18
15+
NODE_OPTIONS: --openssl-legacy-provider
1416
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1517
name: Release
1618
runs-on: ubuntu-latest
@@ -27,7 +29,7 @@ jobs:
2729
- name: Setup Node.js
2830
uses: actions/setup-node@v3
2931
with:
30-
node-version: "lts/*" # semantic-release requires Node >= 18
32+
node-version: 'lts/*' # semantic-release requires Node >= 18
3133
- name: Install dependencies
3234
run: npm clean-install
3335
- name: Build

0 commit comments

Comments
 (0)