Skip to content

Commit

Permalink
Try to use the hack documented here: actions/setup-node#899
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed May 21, 2024
1 parent 0e1f562 commit d442f7d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build-push-backstage-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Enable Corepack
run: |
corepack enable
corepack prepare yarn@stable --activate
- run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn

- name: Setup local Turbo cache
uses: dtinth/setup-github-actions-caching-for-turbo@v1
Expand Down Expand Up @@ -80,16 +80,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Enable Corepack
run: |
corepack enable
corepack prepare yarn@stable --activate
- run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn

- name: Setup local Turbo cache
uses: dtinth/setup-github-actions-caching-for-turbo@v1
Expand Down

0 comments on commit d442f7d

Please sign in to comment.