Archived
1
0

Disable CI caching during build.

This commit is contained in:
Teffen Ellis 2021-09-15 14:11:49 -04:00 committed by Teffen Ellis
parent 7f2b1dcd22
commit f937849981

View File

@ -108,20 +108,21 @@ jobs:
with:
node-version: "14"
- name: Fetch dependencies from cache
id: cache-yarn
uses: actions/cache@v2
with:
path: |
"**/node_modules"
"**/vendor/modules"
"**/vendor/modules/code-oss-dev/node_modules"
key: yarn-build-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/vendor/yarn.lock') }}
restore-keys: |
yarn-build-
# TODO@Teffen investigate why this omits code-oss-dev/node_modules
# - name: Fetch dependencies from cache
# id: cache-yarn
# uses: actions/cache@v2
# with:
# path: |
# "**/node_modules"
# "**/vendor/modules"
# "**/vendor/modules/code-oss-dev/node_modules"
# key: yarn-build-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/vendor/yarn.lock') }}
# restore-keys: |
# yarn-build-
- name: Install dependencies
if: steps.cache-yarn.outputs.cache-hit != 'true'
# if: steps.cache-yarn.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
- name: Build code-server