File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,35 +17,22 @@ jobs:
1717 github.event.pull_request.draft != true &&
1818 (github.event_name == 'pull_request_review' && github.event.review.state == 'approved') ||
1919 github.event_name != 'pull_request_review'
20- strategy :
21- matrix :
22- node-version :
23- - " 16"
2420
2521 steps :
26- - uses : actions/checkout@v2
22+ - uses : actions/checkout@v4
2723
28- - name : Install Node.js ${{ matrix.node-version }}
29- shell : bash -l {0}
30- run : |
31- nvm install --default ${{ matrix.node-version }}
32- dirname "$(npm which)" >> "$GITHUB_PATH"
24+ - name : Set up Node.js
25+ uses : actions/setup-node@v4
26+ with :
27+ node-version : 20
3328
3429 - name : Install Node.js dependencies
3530 run : npm install
3631
37- - name : List environment
38- id : list_env
39- shell : bash
40- run : |
41- echo "node@$(node -v)"
42- echo "npm@$(npm -v)"
43- npm -s ls
44-
4532 - name : Run tests
4633 shell : bash
4734 run : npm test
48-
35+
4936 - name : Check Docker support
5037 shell : bash
5138 run : |
You can’t perform that action at this time.
0 commit comments