mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
fix: rm cache modules temporarily (#96)
This commit is contained in:
parent
378acb7ad4
commit
485700ab1c
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -20,17 +20,7 @@ jobs:
|
|||||||
node-version: "12"
|
node-version: "12"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Cache node modules
|
|
||||||
uses: actions/cache@v2
|
|
||||||
id: cache
|
|
||||||
with:
|
|
||||||
path: ~/.npm
|
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-node-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
Loading…
Reference in New Issue
Block a user