From 912fc4d1018a701b59640cd30ad81539db48a961 Mon Sep 17 00:00:00 2001 From: Rodrigo Fuentes Date: Fri, 28 Jun 2024 09:32:09 -0300 Subject: [PATCH] Use npm in github actions --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da89218..a16dde7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,10 +35,10 @@ jobs: with: fetch-depth: 0 - name: Install monorepo packages - uses: pnpm/action-setup@v2 + - uses: actions/setup-node@v4 with: - version: 8 - - run: pnpm install --frozen-lockfile + node-version: 21 + - run: npm install - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -50,10 +50,10 @@ jobs: python -m pip install --upgrade pip pip install -r requirements-pip.txt pip install -r requirements-dev.txt - - run: pnpm nx run-many --target=install + - run: npx nx run-many --target=install - name: Test all projects - run: pnpm nx run-many --target=test + run: npx nx run-many --target=test - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1