File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
- push :
3
- branches :
4
- - master
5
2
pull_request :
6
3
types : [opened, synchronize, edited]
7
4
name : Reporter
18
15
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
19
16
- name : Setup Node
20
17
uses : ' ./.github/actions/setup_node'
21
- - name : Install dependencies
18
+ - name : Cache node modules
19
+ id : cache-npm
20
+ uses : actions/cache@v4
21
+ with :
22
+ path : |
23
+ node_modules
24
+ packages/*/node_modules
25
+ key : node_modules-cache-${{ hashFiles('package-lock.json', 'packages/*/package.json') }}
26
+ - if : ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
27
+ name : Install dependencies
22
28
uses : " ./.github/actions/npm_install_from_cache"
23
29
- name : Build components package
24
30
working-directory : packages/components
28
34
- name : Coveralls Parallel
29
35
uses : coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
30
36
with :
31
- flag-name : ${{ matrix.shard}}
37
+ flag-name : ${{ matrix.shard }}
32
38
parallel : true
33
39
34
40
finish :
You can’t perform that action at this time.
0 commit comments