From 0144c6aad950d7e694ec0dca247b43cb71e4aa5a Mon Sep 17 00:00:00 2001 From: Conner Bachmann Date: Mon, 25 Mar 2024 15:39:37 +0100 Subject: [PATCH] chore: update ci.yml --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30df415f..cce03e6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [16] + node: [18] steps: - uses: actions/setup-node@v3 @@ -25,18 +25,21 @@ jobs: - name: checkout uses: actions/checkout@master + - name: install pnpm + run: npm install -g pnpm + - name: cache node_modules uses: actions/cache@v3 with: path: node_modules - key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }} + key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/pnpm-lock.yaml')) }} - name: Install dependencies if: steps.cache.outputs.cache-hit != 'true' - run: yarn + run: pnpm install - name: Lint - run: yarn lint + run: pnpm run lint # - name: Test # run: yarn test