File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed
Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ concurrency: draft_or_update_next_release
44on :
55 push :
66 branches :
7- - main
7+ - master
88 workflow_dispatch :
99
1010jobs :
1313 runs-on : ubuntu-latest
1414 timeout-minutes : 30
1515 steps :
16- - uses : actions/checkout@v1
16+ - uses : actions/checkout@v4
1717
1818 - uses : release-drafter/release-drafter@v5
1919 env :
Original file line number Diff line number Diff line change 1- name : ' Merge to master'
1+ name : " Merge to master"
22
33on :
44 push :
1010
1111 strategy :
1212 matrix :
13- node-version : [12.16.3 ]
13+ node-version : [22 ]
1414
1515 steps :
1616 - name : Get branch name (merge)
2323 shell : bash
2424 run : echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF} | tr / -)" >> $GITHUB_ENV
2525
26- - uses : actions/checkout@v2
26+ - uses : actions/checkout@v4
2727 - name : Use Node.js ${{ matrix.node-version }}
28- uses : actions/setup-node@v1
28+ uses : actions/setup-node@v4
2929 with :
3030 node-version : ${{ matrix.node-version }}
3131 - run : npm i -g nyc
Original file line number Diff line number Diff line change 1- name : ' Pull Request'
1+ name : " Pull Request"
22on :
33 pull_request :
44 types : [opened, reopened, synchronize]
88 runs-on : ubuntu-latest
99 strategy :
1010 matrix :
11- node : [12.16.3 ]
11+ node : [16, 18, 20, 22 ]
1212 name : Node ${{ matrix.node }}
1313 steps :
14- - name : ' Checkout latest code'
15- uses : actions/checkout@v3
14+ - name : " Checkout latest code"
15+ uses : actions/checkout@v4
1616 with :
1717 ref : ${{ github.event.pull_request.head.sha }}
1818 - name : Set up node
19- uses : actions/setup-node@v3
19+ uses : actions/setup-node@v4
2020 with :
2121 node-version : ${{ matrix.node }}
2222 - name : Install dependencies
@@ -27,17 +27,17 @@ jobs:
2727 run : npm run test
2828
2929 lint :
30- name : ' ESLint'
30+ name : " ESLint"
3131 runs-on : ubuntu-latest
3232 steps :
3333 - name : Checkout latest code
34- uses : actions/checkout@v3
34+ uses : actions/checkout@v4
3535 with :
3636 ref : ${{ github.event.pull_request.head.sha }}
3737 - name : Set up node
38- uses : actions/setup-node@v3
38+ uses : actions/setup-node@v4
3939 with :
40- node-version : ' 16 '
40+ node-version : " 16 "
4141 - name : Install dependencies
4242 run : npm ci
4343 - name : Run ESLint
You can’t perform that action at this time.
0 commit comments