File tree Expand file tree Collapse file tree 1 file changed +21
-17
lines changed
Expand file tree Collapse file tree 1 file changed +21
-17
lines changed Original file line number Diff line number Diff line change 33
44name : Yarn Build
55
6- on :
7- push :
8- branches : [ master ]
9- pull_request :
10- branches : [ master ]
6+ on : [push]
117
128jobs :
139 build :
14-
1510 runs-on : ubuntu-latest
1611
17- strategy :
18- matrix :
19- node-version : [16.x, 17.x]
20-
2112 steps :
22- - uses : actions/checkout@v3
23- - name : Use Node.js ${{ matrix.node-version }}
24- uses : actions/setup-node@v3
25- with :
26- node-version : ${{ matrix.node-version }}
27- - run : yarn install
28- - run : yarn build
13+ - uses : actions/checkout@v2
14+ - name : Run a one-line script
15+ run : echo Hello, world!
16+
17+ - name : corepack
18+ run : corepack enable
19+
20+ - name : yarn global
21+ run : corepack prepare yarn@stable --activate
22+
23+ - name : Set yarn version
24+ run : yarn set version stable
25+
26+ - name : install
27+ working-directory : .
28+ run : yarn install
29+
30+ - name : build
31+ working-directory : .
32+ run : yarn run build
You can’t perform that action at this time.
0 commit comments