diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc66a97..60f5ca5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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