Skip to content

Commit 489708e

Browse files
committed
fix: fixed ci job not installing npm deps
1 parent ea2577e commit 489708e

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/ci.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ jobs:
2424
uses: actions/setup-node@v3
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
- name: Cache node modules
28-
uses: actions/cache@v3
29-
env:
30-
cache-name: cache-node-modules
31-
with:
32-
# npm cache files are stored in `~/.npm` on Linux/macOS
33-
path: ~/.npm
34-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
27+
# - name: Cache node modules
28+
# uses: actions/cache@v3
29+
# env:
30+
# cache-name: cache-node-modules
31+
# with:
32+
# # npm cache files are stored in `~/.npm` on Linux/macOS
33+
# path: ~/.npm
34+
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
35+
- name: Install dependencies
36+
run: npm install
3537
- name: Build
3638
run: npm run build
3739
- name: Test On Node ${{ matrix.node-version }}

0 commit comments

Comments
 (0)