Skip to content

Commit

Permalink
chore: update action env
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed May 29, 2023
1 parent cfd4bc8 commit 13d4ef9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Release
on:
workflow_run:
workflows: ["Lint & Unit Test"]
workflows: ['Lint & Unit Test']
branches: [master]
types:
types:
- completed

permissions:
contents: read # for checkout

jobs:
release:
env: # temporary workaround for "Error: error:0308010C:digital envelope routines::unsupported" in Node lts / 18
NODE_OPTIONS: --openssl-legacy-provider
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Release
runs-on: ubuntu-latest
Expand All @@ -27,7 +29,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*" # semantic-release requires Node >= 18
node-version: 'lts/*' # semantic-release requires Node >= 18
- name: Install dependencies
run: npm clean-install
- name: Build
Expand Down

0 comments on commit 13d4ef9

Please sign in to comment.