Skip to content

Commit cca3f59

Browse files
Merge pull request #529 from devoxa/consistent-node-version
Update to a consistent Node version
2 parents 0c4fee3 + f9ea7af commit cca3f59

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: 'Setup Node.JS'
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '18'
22+
node-version: '18.17'
2323

2424
- name: 'Cache dependencies'
2525
uses: buildjet/cache@v3

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@
3636
},
3737
"publishConfig": {
3838
"access": "public"
39+
},
40+
"volta": {
41+
"node": "18.17.0"
3942
}
4043
}

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
// Output Options
4-
"target": "es2015",
4+
"target": "es2022",
55
"module": "commonjs",
66
"jsx": "react",
77
"noEmitOnError": true,
@@ -16,7 +16,7 @@
1616
"incremental": true,
1717

1818
// Type-Checking Options
19-
"lib": ["esnext"],
19+
"lib": ["es2022"],
2020
"strict": true,
2121
"skipLibCheck": true,
2222
"strictPropertyInitialization": false,

0 commit comments

Comments
 (0)