mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-25 18:30:10 +02:00
Cache adjusts
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -16,9 +16,6 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install Yarn
|
||||
run: npm i yarn --global
|
||||
|
||||
- name: Install Packages
|
||||
run: yarn install
|
||||
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v1
|
||||
@@ -26,10 +23,12 @@ jobs:
|
||||
path: node_modules
|
||||
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.OS }}-build-${{ env.cache-name }}-
|
||||
${{ runner.OS }}-build-
|
||||
${{ runner.OS }}-
|
||||
|
||||
- name: Install Packages
|
||||
run: yarn install
|
||||
|
||||
- name: Run Build
|
||||
run: yarn build
|
||||
|
||||
|
Reference in New Issue
Block a user