From 2e4e7bb7e54a36f3d6c9ca19076e8101ad7b6edc Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Thu, 26 Sep 2024 13:31:15 +0100 Subject: [PATCH] chore: ci --- .../workflows/{testing.yaml => tests.yaml} | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) rename .github/workflows/{testing.yaml => tests.yaml} (80%) diff --git a/.github/workflows/testing.yaml b/.github/workflows/tests.yaml similarity index 80% rename from .github/workflows/testing.yaml rename to .github/workflows/tests.yaml index 6c80c803..ff9cf769 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/tests.yaml @@ -12,21 +12,23 @@ jobs: steps: # Checkout the repository - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - # Set up Node.js environment and install pnpm - - name: Setup Node.js and pnpm - uses: actions/setup-node@v3 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + run_install: false # We'll do this later + + # Setup Node.js with pnpm + - name: Setup Node.js + uses: actions/setup-node@v4 with: - node-version: '20.11.1' + node-version: 20 cache: 'pnpm' - - # Install pnpm - - name: Install pnpm - run: npm install -g pnpm # Install all dependencies at the root - - name: Install dependencies + - name: Install dependencies (pnpm) run: pnpm install # Install Firebase CLI