Skip to content

Commit e6e060b

Browse files
authored
ci: remove manual cache step in favor of setup-node cache (#1023)
1 parent 7df9e44 commit e6e060b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.github/workflows/nodejs.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,6 @@ jobs:
7878
if: matrix.os == 'windows-latest'
7979
run: npm i -g npm
8080

81-
- name: Get npm cache directory
82-
id: npm-cache-dir
83-
run: |
84-
echo "::set-output name=dir::$(npm config get cache)"
85-
86-
- name: Cache Node.js modules
87-
id: cache
88-
uses: actions/cache@v2
89-
with:
90-
path: ${{ steps.npm-cache-dir.outputs.dir }}
91-
key: ${{ runner.os }}-${{ matrix.webpack-version }}-node-${{ hashFiles('**/package-lock.json') }}
92-
restore-keys: |
93-
${{ runner.os }}-${{ matrix.webpack-version }}-node-
94-
9581
- name: Install dependencies
9682
run: npm ci
9783

0 commit comments

Comments
 (0)