Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[FEQ] george / FEQ-2702 / Improve Coverall workflow time execution. Part 2. Adding caching npm packages" #17706

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 5 additions & 14 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, edited]
name: Reporter
jobs:
test:
name: Run tests in parallel
runs-on: Runner_16cores_Deriv-app
permissions:
contents: read
actions: read
strategy:
matrix:
shard: [1,2,3,4,5,6,7,8,9,10]
Expand All @@ -18,16 +18,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Node
uses: './.github/actions/setup_node'
- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
with:
path: |
node_modules
packages/*/node_modules
key: node_modules-cache-${{ hashFiles('package-lock.json', 'packages/*/package.json') }}
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: Install dependencies
- name: Install dependencies
uses: "./.github/actions/npm_install_from_cache"
- name: Build components package
working-directory: packages/components
Expand All @@ -37,7 +28,7 @@ jobs:
- name: Coveralls Parallel
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
with:
flag-name: ${{ matrix.shard }}
flag-name: ${{ matrix.shard}}
parallel: true

finish:
Expand Down
Loading