Skip to content

Commit

Permalink
Improve CI performances - attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch committed Oct 1, 2024
1 parent c958946 commit aadbf31
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/run-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: '**/node_modules'
path: |
node_modules
packages/**/node_modules
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node-version }}-
Expand All @@ -35,7 +37,8 @@ jobs:
- name: Cache build output
uses: actions/cache@v3
with:
path: './build'
path: |
packages/**/dist
key: ${{ runner.os }}-node-${{ matrix.node-version }}-build-${{ github.sha }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node-version }}-build-
Expand Down Expand Up @@ -67,15 +70,18 @@ jobs:
- name: Restore Node.js modules cache
uses: actions/cache@v3
with:
path: '**/node_modules'
path: |
node_modules
packages/**/node_modules
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node-version }}-
- name: Restore build output
uses: actions/cache@v3
with:
path: './build'
path: |
packages/**/dist
key: ${{ runner.os }}-node-${{ matrix.node-version }}-build-${{ github.sha }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node-version }}-build-
Expand Down

0 comments on commit aadbf31

Please sign in to comment.