Skip to content

Commit

Permalink
Improve CI performances - attempt 3 - cache build output only
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch committed Oct 1, 2024
1 parent aadbf31 commit 6f8d992
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/run-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Cache Node.js modules
uses: actions/cache@v3
with:
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: Install dependencies
run: yarn install --frozen-lockfile

Expand Down Expand Up @@ -67,16 +57,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Restore Node.js modules cache
uses: actions/cache@v3
with:
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:
Expand Down Expand Up @@ -117,7 +97,9 @@ jobs:
cp sinch-sdk-mockserver/features/voice/*.feature ./packages/voice/tests/e2e/features/
- name: Run e2e tests
run: yarn run e2e
run: |
yarn install
yarn run e2e
sonarcloud:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6f8d992

Please sign in to comment.