mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
Cache node_modules and use frozen lockfile
This commit is contained in:
parent
7ee40d841d
commit
4c0ecba84a
24
.github/workflows/lint.yml
vendored
24
.github/workflows/lint.yml
vendored
@ -20,8 +20,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
|
- name: Cache dependencies
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: '**/node_modules'
|
||||||
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
run: yarn
|
run: yarn install --frozen-lockfile
|
||||||
env:
|
env:
|
||||||
SKIP_PREPARE: true
|
SKIP_PREPARE: true
|
||||||
|
|
||||||
@ -44,8 +50,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
|
- name: Cache dependencies
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: '**/node_modules'
|
||||||
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
run: yarn
|
run: yarn install --frozen-lockfile
|
||||||
env:
|
env:
|
||||||
SKIP_PREPARE: true
|
SKIP_PREPARE: true
|
||||||
|
|
||||||
@ -68,8 +80,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
|
- name: Cache dependencies
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: '**/node_modules'
|
||||||
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
run: yarn
|
run: yarn install --frozen-lockfile
|
||||||
env:
|
env:
|
||||||
SKIP_PREPARE: true
|
SKIP_PREPARE: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user