diff --git a/.github/workflows/frontend-dev.yaml b/.github/workflows/frontend-dev.yaml index 1092b3089..0b0d12c08 100644 --- a/.github/workflows/frontend-dev.yaml +++ b/.github/workflows/frontend-dev.yaml @@ -14,8 +14,10 @@ jobs: bun-version: latest - name: Checkout uses: actions/checkout@v3 - - name: Install pnpm - run: npm install -g pnpm + + - uses: pnpm/action-setup@v4 + with: + version: 9 - name: Cache node_modules uses: actions/cache@v3 diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index 1f0ec15b1..8f29c19e0 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -19,8 +19,9 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Install pnpm - run: npm install -g pnpm + - uses: pnpm/action-setup@v4 + with: + version: 9 - name: Cache node modules uses: actions/cache@v4 diff --git a/.github/workflows/tracker-tests.yaml b/.github/workflows/tracker-tests.yaml index ed6a7bf33..9d3a1f0e8 100644 --- a/.github/workflows/tracker-tests.yaml +++ b/.github/workflows/tracker-tests.yaml @@ -16,16 +16,15 @@ jobs: runs-on: macos-latest name: Build and test Tracker steps: + - uses: pnpm/action-setup@v4 + with: + version: 9 - uses: oven-sh/setup-bun@v2 with: bun-version: latest - uses: actions/checkout@v3 - # Install pnpm - - name: Install pnpm - run: npm install -g pnpm - # Cache tracker node_modules - name: Cache tracker modules uses: actions/cache@v3 diff --git a/.github/workflows/ui-tests.js.yml b/.github/workflows/ui-tests.js.yml index a618fbcc1..7d105f390 100644 --- a/.github/workflows/ui-tests.js.yml +++ b/.github/workflows/ui-tests.js.yml @@ -34,6 +34,10 @@ jobs: with: bun-version: latest + - uses: pnpm/action-setup@v4 + with: + version: 9 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -41,10 +45,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - # Install pnpm - - name: Install pnpm - run: npm install -g pnpm - # Cache pnpm node modules for Tracker - name: Cache tracker node_modules uses: actions/cache@v3