diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index faf7205d9..51774ef58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,19 +21,19 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: 18 - cache: "yarn" + node-version: 23 + cache: 'npm' - name: Cache node_modules uses: actions/cache@v4 with: path: node_modules - key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node_modules- - name: Install dependencies - run: yarn install + run: npm install - name: Run Jest tests - run: yarn test:ci + run: npm run test:ci