From 4a4f474a96877e6a904e2a0bd9bc41b9305b5c1e Mon Sep 17 00:00:00 2001 From: "Ghislain B." Date: Tue, 30 Sep 2025 23:01:56 -0400 Subject: [PATCH] chore: rework CI for easier cache handling --- .github/workflows/main.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c367259..45a39aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,8 +18,6 @@ jobs: strategy: fail-fast: false - matrix: - node: [22] steps: - name: Clone repository @@ -27,17 +25,11 @@ jobs: with: fetch-depth: 3 - - uses: actions/cache@v4 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Set Node.js version uses: actions/setup-node@v5 with: - node-version: ${{ matrix.node }} + node-version: 24 + cache: 'npm' - run: node --version - run: npm --version @@ -54,4 +46,4 @@ jobs: - name: Upload test coverage to Codecov uses: codecov/codecov-action@v5 env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}