mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
Cache node_modules too
This commit is contained in:
parent
5322027e65
commit
b027c43a18
9
.github/workflows/ensure-build.yml
vendored
9
.github/workflows/ensure-build.yml
vendored
@ -17,6 +17,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
- name: Restore node_modulescache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: node_modules
|
||||||
|
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-node_modules
|
||||||
- name: Restore Asset Caches
|
- name: Restore Asset Caches
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
@ -24,6 +31,6 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
./if-cache
|
./if-cache
|
||||||
./twitter-cache.json
|
./twitter-cache.json
|
||||||
- run: npm ci
|
- run: npm i
|
||||||
- run: npm test
|
- run: npm test
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user