mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Don't cache node_modules in CI
This commit is contained in:
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@@ -18,14 +18,6 @@ jobs:
|
||||
node-version: '12.18.3'
|
||||
- run: npm install -g yarn@1.22.0
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v1
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('patches/*') }}
|
||||
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn generate
|
||||
- run: yarn lint
|
||||
@@ -46,14 +38,6 @@ jobs:
|
||||
node-version: '12.18.3'
|
||||
- run: npm install -g yarn@1.22.0
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v1
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('patches/*') }}
|
||||
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn generate
|
||||
- run: yarn lint
|
||||
@@ -79,14 +63,6 @@ jobs:
|
||||
- run: sudo apt-get install xvfb
|
||||
- run: npm install -g yarn@1.22.0
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v1
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('patches/*') }}
|
||||
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn generate
|
||||
- run: yarn lint
|
||||
@@ -115,14 +91,6 @@ jobs:
|
||||
node-version: '12.18.3'
|
||||
- run: npm install -g yarn@1.22.0
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v1
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('patches/*') }}
|
||||
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn generate
|
||||
- run: yarn lint
|
||||
|
||||
Reference in New Issue
Block a user