@@ -13,17 +13,17 @@ jobs:
13
13
contents : write
14
14
strategy :
15
15
matrix :
16
- node-version : [14 .x, 16 .x, 18 .x]
16
+ node-version : [16 .x, 18 .x, 20 .x]
17
17
steps :
18
18
- run : echo "🎉 The job was triggered by a ${{ github.event_name }} event."
19
- - uses : styfle/cancel-workflow-action@0.11 .0
19
+ - uses : styfle/cancel-workflow-action@0.12 .0
20
20
with :
21
21
workflow_id : nodejs.yml
22
22
access_token : ${{ secrets.GITHUB_TOKEN }}
23
23
- uses : FranzDiebold/github-env-vars-action@v2
24
- - uses : actions/checkout@v3
24
+ - uses : actions/checkout@v4
25
25
- name : Use Node.js ${{ matrix.node-version }}
26
- uses : actions/setup-node@v3
26
+ uses : actions/setup-node@v4
27
27
with :
28
28
node-version : ${{ matrix.node-version }}
29
29
- name : Install node_modules
@@ -32,16 +32,16 @@ jobs:
32
32
run : yarn test
33
33
env :
34
34
CI : true
35
- - name : Testing with previous mongoose versions 6
36
- run : yarn test-prev-vers-6
35
+ - name : Testing with previous mongoose versions 7
36
+ run : yarn test-prev-vers-7
37
37
env :
38
38
CI : true
39
- - name : Testing with previous mongoose versions 5
40
- run : yarn test-prev-vers-5
39
+ - name : Testing with previous mongoose versions 6
40
+ run : yarn test-prev-vers-6
41
41
env :
42
42
CI : true
43
43
- name : Send codecov.io stats
44
- if : matrix.node-version == '14 .x'
44
+ if : matrix.node-version == '18 .x'
45
45
run : bash <(curl -s https://codecov.io/bash) || echo ''
46
46
47
47
publish :
@@ -52,11 +52,11 @@ jobs:
52
52
packages : write
53
53
contents : write
54
54
steps :
55
- - uses : actions/checkout@v3
56
- - name : Use Node.js 14
57
- uses : actions/setup-node@v3
55
+ - uses : actions/checkout@v4
56
+ - name : Use Node.js 18
57
+ uses : actions/setup-node@v4
58
58
with :
59
- node-version : 14 .x
59
+ node-version : 18 .x
60
60
- name : Install node_modules
61
61
run : yarn install
62
62
- name : Build
0 commit comments