Skip to content

Commit

Permalink
ci(workflows/ci): setup node before enabling corepack (un-ts#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila authored and robtaylor committed Aug 8, 2024
1 parent bf8bdf9 commit 8d7634d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup target Node.js to enable Corepack
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Enable Corepack
run: corepack enable

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

0 comments on commit 8d7634d

Please sign in to comment.