Update test.yml

This commit is contained in:
LaskyJ 2025-04-17 23:55:44 -05:00 committed by GitHub
parent 3aa2c68ce6
commit e4264d3301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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