File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,22 +7,16 @@ on: # rebuild any PRs and main branch changes
77 - main
88
99jobs :
10-
1110 build :
12-
1311 runs-on : ubuntu-latest
14-
15- strategy :
16- matrix :
17- node-version : [12.x, 14.x, 16.x]
18- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19-
2012 steps :
2113 - uses : actions/checkout@v2
22- - name : Use Node.js ${{ matrix.node-version }}
14+ with :
15+ ref : ${{ github.head_ref }}
16+ - name : Use Node.js 14
2317 uses : actions/setup-node@v2
2418 with :
25- node-version : ${{ matrix.node-version }}
19+ node-version : ' 14 '
2620 cache : ' npm'
2721 - name : Run npm clean-install
2822 run : npm clean-install
Original file line number Diff line number Diff line change @@ -8,22 +8,16 @@ on: # rebuild any PRs and main branch changes
88 - ' releases/*'
99
1010jobs :
11-
1211 lint :
13-
1412 runs-on : ubuntu-latest
15-
16- strategy :
17- matrix :
18- node-version : [12.x, 14.x, 16.x]
19- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20-
2113 steps :
2214 - uses : actions/checkout@v2
23- - name : Use Node.js ${{ matrix.node-version }}
15+ with :
16+ ref : ${{ github.head_ref }}
17+ - name : Use Node.js 14
2418 uses : actions/setup-node@v2
2519 with :
26- node-version : ${{ matrix.node-version }}
20+ node-version : ' 14 '
2721 cache : ' npm'
2822 - name : Run npm clean-install
2923 run : npm clean-install
Original file line number Diff line number Diff line change @@ -8,12 +8,11 @@ on: # publish when main branch changes
88jobs :
99 publish :
1010 runs-on : ubuntu-latest
11-
1211 steps :
1312 - uses : actions/checkout@v2
1413 with :
1514 ref : ${{ github.head_ref }}
16- - name : Use Node.js ${{ matrix.node-version }}
15+ - name : Use Node.js 14
1716 uses : actions/setup-node@v2
1817 with :
1918 node-version : ' 14'
Original file line number Diff line number Diff line change @@ -8,22 +8,16 @@ on: # rebuild any PRs and main branch changes
88 - ' releases/*'
99
1010jobs :
11-
1211 test :
13-
1412 runs-on : ubuntu-latest
15-
16- strategy :
17- matrix :
18- node-version : [12.x, 14.x, 16.x]
19- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20-
2113 steps :
2214 - uses : actions/checkout@v2
23- - name : Use Node.js ${{ matrix.node-version }}
15+ with :
16+ ref : ${{ github.head_ref }}
17+ - name : Use Node.js 14
2418 uses : actions/setup-node@v2
2519 with :
26- node-version : ${{ matrix.node-version }}
20+ node-version : ' 14 '
2721 cache : ' npm'
2822 - name : Run npm clean-install
2923 run : npm clean-install
You can’t perform that action at this time.
0 commit comments