Skip to content

Commit e4c88db

Browse files
committed
simplify pakcage json
1 parent ae758da commit e4c88db

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,11 @@ jobs:
2929
- name: Checkout Branch
3030
uses: actions/checkout@v4
3131

32-
- name: Cache node modules
33-
uses: actions/cache@v4
34-
with:
35-
# npm cache files are stored in `~/.npm` on Linux/macOS
36-
path: ~/.npm
37-
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
38-
restore-keys: ${{ runner.os }}-build-node-modules-
39-
4032
- name: Setup Node
4133
uses: actions/setup-node@v4
4234
with:
43-
node-version: '23.x'
35+
node-version-file: package.json
36+
cache: npm
4437

4538
- name: Install Node Packages
4639
run: npm ci

0 commit comments

Comments
 (0)