Skip to content

Commit

Permalink
ci(root): fix steps order
Browse files Browse the repository at this point in the history
  • Loading branch information
NexZhu committed Dec 7, 2023
1 parent 38af8c0 commit 0fa9feb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ jobs:
with:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm

- name: install zx,@traf/nx @traf/nx
run: pnpm add -g zx

Expand All @@ -116,12 +122,6 @@ jobs:
echo Affected projects: ${projs}
echo projs=${projs} >> $GITHUB_OUTPUT
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm

- name: pnpm install
# Fix: `pnpm install --filter` installing dependencies of all projects
# https://github.com/pnpm/pnpm/issues/6300#issuecomment-1722120409
Expand Down

0 comments on commit 0fa9feb

Please sign in to comment.