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
1 changed files with 13 additions and 12 deletions

View File

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