Skip to content

Commit e9073a8

Browse files
committed
Using node setup action for global cache.
1 parent ef71afc commit e9073a8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,11 @@ jobs:
3434
restore-keys: |
3535
${{ runner.os }}-dotnet-tools-
3636
37-
- name: Cache NPM
38-
uses: actions/cache@v3
37+
- uses: actions/setup-node@v3
3938
with:
40-
path: "%LOCALAPPDATA%/npm-cache"
41-
key: ${{ runner.os }}-npm-${{ hashFiles('src/*/package-lock.json') }}
42-
restore-keys: |
43-
${{ runner.os }}-npm-
39+
node-version: 18
40+
cache: 'npm'
41+
cache-dependency-path: src/papyrus-lang-vscode/package-lock.json
4442

4543
- name: Setup Nuget.exe
4644
if: success()

0 commit comments

Comments
 (0)