cache testing 3

This commit is contained in:
Core 2022-08-03 21:41:07 +01:00
parent 143e80022e
commit 515dcdfa0e
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -9,6 +9,7 @@ on:
- '.gitmodules' - '.gitmodules'
- '.gitignore' - '.gitignore'
- 'LICENSE' - 'LICENSE'
- 'cider.lock'
permissions: permissions:
contents: write contents: write
@ -47,16 +48,8 @@ jobs:
- name: Setup Environment - name: Setup Environment
run: brew install automake #libtool autoconf run: brew install automake #libtool autoconf
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cache/yarn
key: yarn-${{ hashFiles('cider.lock') }}
restore-keys: yarn-
- name: Install and Configure Node Modules - name: Install and Configure Node Modules
run: | run: |
mv cider.lock yarn.lock
yarn install --frozen-lockfile --cache-folder ~/.cache/yarn yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
cp resources/verror-types node_modules/@types/verror/index.d.ts cp resources/verror-types node_modules/@types/verror/index.d.ts
cp resources/macPackager.js node_modules/app-builder-lib/out/macPackager.js cp resources/macPackager.js node_modules/app-builder-lib/out/macPackager.js