File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,12 @@ jobs:
1515
1616 steps :
1717 - uses : actions/checkout@v2
18+
1819 - name : Set up Node.js
1920 uses : actions/setup-node@v1
2021 with :
21- node-version : 12.x
22+ node-version : 16
23+
2224 - name : Install dependencies
2325 run : npm ci
2426 - name : Test with Jest
Original file line number Diff line number Diff line change @@ -26,19 +26,20 @@ jobs:
2626
2727 steps :
2828 # Prepare
29- - uses : actions/checkout@v2
29+ - name : Checkout repository
30+ uses : actions/checkout@v3
31+
32+ - name : Set up Node.js
33+ uses : actions/setup-node@v3
34+ with :
35+ node-version : 16
3036
3137 - name : Setup git credentials
3238 run : |
3339 git config user.name 'Vadzim Hushchanskou'
3440 git config user.email 'vadzim.hushchanskou@gmail.com'
3541 git config user.password ${{ secrets.GITHUB_TOKEN }}
3642
37- - name : Set up Node.js
38- uses : actions/setup-node@v1
39- with :
40- node-version : 12.x
41-
4243 - name : Generate versions
4344 uses : HardNorth/github-version-generate@v1.2.0
4445 with :
@@ -126,7 +127,7 @@ jobs:
126127
127128 - name : Checkout develop branch
128129 if : ${{github.ref}} == 'main'
129- uses : actions/checkout@v2
130+ uses : actions/checkout@v3
130131 with :
131132 ref : ' develop'
132133 fetch-depth : 0
Original file line number Diff line number Diff line change @@ -153,5 +153,5 @@ outputs:
153153 description : ' A version prepared for pushing into a repository instead of "CURRENT_VERSION" after release, usually incremented by 1'
154154
155155runs :
156- using : ' node12 '
156+ using : ' node16 '
157157 main : ' build/index.js'
You can’t perform that action at this time.
0 commit comments