@@ -12,16 +12,16 @@ jobs:
12
12
name : Lint with ESLint and build
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v3
16
- - uses : actions/setup-node@v3
15
+ - uses : actions/checkout@v4
16
+ - uses : actions/setup-node@v4
17
17
with :
18
18
node-version : 18
19
19
cache : npm
20
20
- run : npm ci
21
21
- run : npm run lint
22
22
- run : npm run tsc
23
23
- name : cache dist build
24
- uses : actions/cache/save@v3
24
+ uses : actions/cache/save@v4
25
25
with :
26
26
key : dist-${{ github.sha }}
27
27
path : |
@@ -32,13 +32,13 @@ jobs:
32
32
runs-on : ubuntu-latest
33
33
needs : lint-build
34
34
steps :
35
- - uses : actions/checkout@v3
36
- - uses : actions/setup-node@v3
35
+ - uses : actions/checkout@v4
36
+ - uses : actions/setup-node@v4
37
37
with :
38
38
node-version : 18
39
39
cache : npm
40
40
- id : cache
41
- uses : actions/cache/restore@v3
41
+ uses : actions/cache/restore@v4
42
42
with :
43
43
key : dist-${{ github.sha }}
44
44
path : |
53
53
timeout-minutes : 5
54
54
run : npx nyc --silent npm test
55
55
- name : cache nyc output
56
- uses : actions/cache/save@v3
56
+ uses : actions/cache/save@v4
57
57
with :
58
58
key : nyc-sqlite-${{ github.sha }}
59
59
path : ${{ github.workspace }}/.nyc_output
@@ -62,20 +62,20 @@ jobs:
62
62
runs-on : ubuntu-latest
63
63
needs : lint-build
64
64
steps :
65
- - uses : actions/checkout@v3
65
+ - uses : actions/checkout@v4
66
66
- name : Build the docker-compose stack
67
67
env :
68
68
PG_USER : ci_db_user
69
69
PG_PASS : ci_db_pass
70
70
run : docker compose -f docker/docker-compose-ci.yml up -d
71
71
- name : Check running containers
72
72
run : docker ps
73
- - uses : actions/setup-node@v3
73
+ - uses : actions/setup-node@v4
74
74
with :
75
75
node-version : 18
76
76
cache : npm
77
77
- id : cache
78
- uses : actions/cache/restore@v3
78
+ uses : actions/cache/restore@v4
79
79
with :
80
80
key : dist-${{ github.sha }}
81
81
path : |
91
91
timeout-minutes : 5
92
92
run : npx nyc --silent npm test
93
93
- name : cache nyc output
94
- uses : actions/cache/save@v3
94
+ uses : actions/cache/save@v4
95
95
with :
96
96
key : nyc-postgres-${{ github.sha }}
97
97
path : ${{ github.workspace }}/.nyc_output
@@ -100,22 +100,22 @@ jobs:
100
100
name : Run Codecov
101
101
runs-on : ubuntu-latest
102
102
steps :
103
- - uses : actions/checkout@v3
104
- - uses : actions/setup-node@v3
103
+ - uses : actions/checkout@v4
104
+ - uses : actions/setup-node@v4
105
105
with :
106
106
node-version : 18
107
107
cache : npm
108
108
- run : npm ci
109
109
- name : restore postgres nyc output
110
- uses : actions/cache/restore@v3
110
+ uses : actions/cache/restore@v4
111
111
with :
112
112
key : nyc-postgres-${{ github.sha }}
113
113
path : ${{ github.workspace }}/.nyc_output
114
114
- name : restore sqlite nyc output
115
- uses : actions/cache/restore@v3
115
+ uses : actions/cache/restore@v4
116
116
with :
117
117
key : nyc-sqlite-${{ github.sha }}
118
118
path : ${{ github.workspace }}/.nyc_output
119
119
- run : npx nyc report --reporter=lcov
120
120
- name : Upload coverage reports to Codecov
121
- uses : codecov/codecov-action@v3
121
+ uses : codecov/codecov-action@v4
0 commit comments