Commit 2d8c262 1 parent f139a66 commit 2d8c262 Copy full SHA for 2d8c262
File tree 4 files changed +30
-39
lines changed
4 files changed +30
-39
lines changed Original file line number Diff line number Diff line change
1
+ runs :
2
+ using : composite
3
+ steps :
4
+ - name : Install node
5
+ uses : actions/setup-node@v4
6
+ with :
7
+ node-version : 18
8
+ - name : Install yarn
9
+ run : npm install -g yarn
10
+ shell : bash
11
+ - name : Enable Corepack
12
+ run : corepack enable
13
+ shell : bash
14
+ - name : Cache
15
+ uses : actions/cache@v4
16
+ id : cache
17
+ with :
18
+ path : ' **/node_modules'
19
+ key : yarn-v1-${{ hashFiles('**/yarn.lock') }}
20
+ - name : Install
21
+ working-directory : ${{ inputs.working-directory }}
22
+ run : yarn --immutable
23
+ shell : bash
24
+ if : steps.cache.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v4
15
- - name : Install node
16
- uses : actions/setup-node@v4
17
- with :
18
- node-version : 18
19
- - name : Cache
20
- uses : actions/cache@v4
21
- id : cache
22
- with :
23
- path : ' **/node_modules'
24
- key : yarn-v1-${{ hashFiles('**/yarn.lock') }}
25
- - name : Install
26
- run : yarn --immutable
27
- if : steps.cache.outputs.cache-hit != 'true'
15
+ - name : Set up environment
16
+ uses : ./.github/actions/setup
28
17
- name : Build
29
18
run : yarn build
Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v4
15
- - name : Install node
16
- uses : actions/setup-node@v4
17
- with :
18
- node-version : 18
19
- - name : Cache
20
- uses : actions/cache@v4
21
- id : cache
22
- with :
23
- path : ' **/node_modules'
24
- key : yarn-v1-${{ hashFiles('**/yarn.lock') }}
25
- - name : Install
26
- run : yarn --immutable
27
- if : steps.cache.outputs.cache-hit != 'true'
15
+ - name : Set up environment
16
+ uses : ./.github/actions/setup
28
17
- name : Lint
29
18
run : yarn lint
Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v4
15
- - name : Install node
16
- uses : actions/setup-node@v4
17
- with :
18
- node-version : 18
19
- - name : Cache
20
- uses : actions/cache@v4
21
- id : cache
22
- with :
23
- path : ' **/node_modules'
24
- key : yarn-v1-${{ hashFiles('**/yarn.lock') }}
25
- - name : Install
26
- run : yarn --immutable
27
- if : steps.cache.outputs.cache-hit != 'true'
15
+ - name : Set up environment
16
+ uses : ./.github/actions/setup
28
17
- name : Test
29
18
run : yarn test:ci
You can’t perform that action at this time.
0 commit comments