Skip to content

Commit

Permalink
ci: corepack fix in publish
Browse files Browse the repository at this point in the history
  • Loading branch information
oscb committed Dec 12, 2023
1 parent 1e128ba commit fa7bce4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,17 @@ jobs:
persist-credentials: false
token: ${{ secrets.GH_TOKEN }}

- uses: actions/setup-node@v2
# Workaround for corepack enable in node
# Source: (https://github.com/actions/setup-node/issues/899#issuecomment-1828798029)
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
# End workaround

- name: Config and Build
run: |
Expand Down

0 comments on commit fa7bce4

Please sign in to comment.