File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 55 runs-on : ubuntu-latest
66 steps :
77 - name : Checkout
8- uses : actions/checkout@v2
8+ uses : actions/checkout@v3
99
1010 - name : Use Node.js 18.x
11- uses : actions/setup-node@v2
11+ uses : actions/setup-node@v3
1212 with :
1313 node-version : 18.x
1414
1515 - name : Cache npm
16- uses : actions/cache@v2
16+ uses : actions/cache@v3
1717 with :
1818 path : ~/.npm
1919 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2828 - name : Run tests
2929 run : npm run test:cov
3030 env :
31- CI : " true"
31+ CI : ' true'
3232
3333 - name : Upload coverage to Codecov
34- uses : codecov/codecov-action@v2
34+ uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 1717 runs-on : ubuntu-latest
1818 steps :
1919 - name : Checkout
20- uses : actions/checkout@v2
20+ uses : actions/checkout@v3
21+ with :
22+ ref : ${{ github.ref }}
2123
2224 - name : Bump version and push tag
2325 id : tag-version
4345 runs-on : ubuntu-latest
4446 steps :
4547 - name : Checkout
46- uses : actions/checkout@v2
48+ uses : actions/checkout@v3
49+ with :
50+ ref : ${{ github.ref }}
4751
4852 - name : Update package.json version
4953 run : echo "`jq '.version="${{ env.TAG }}"' package.json`" > package.json
You can’t perform that action at this time.
0 commit comments