Skip to content

Commit

Permalink
ci(workflows/ci): setup node before enabling corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jul 14, 2024
1 parent 22387b4 commit 327b9ea
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 @@ -26,10 +26,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 327b9ea

Please sign in to comment.