Skip to content

Commit e4264d3

Browse files
authored
Update test.yml
1 parent 3aa2c68 commit e4264d3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
- name: Set up Node.js
2222
uses: actions/setup-node@v3
2323
with:
24-
node-version: 18
25-
cache: "yarn"
24+
node-version: 23
25+
cache: 'npm'
2626

2727
- name: Cache node_modules
2828
uses: actions/cache@v4
2929
with:
3030
path: node_modules
31-
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
31+
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
3232
restore-keys: |
3333
${{ runner.os }}-node_modules-
3434
3535
- name: Install dependencies
36-
run: yarn install
36+
run: npm install
3737

3838
- name: Run Jest tests
39-
run: yarn test:ci
39+
run: npm run test:ci

0 commit comments

Comments
 (0)