Skip to content

Commit a251f2e

Browse files
authored
chore: update node version (#998)
* chore: update node version * update workflow
1 parent 5b78996 commit a251f2e

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@ on: [push]
44

55
jobs:
66
lint:
7+
strategy:
8+
matrix:
9+
target: ['22.6']
710
uses: snapshot-labs/actions/.github/workflows/lint.yml@main
811
secrets: inherit
12+
with:
13+
target: ${{ matrix.target }}

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on: [push]
44

55
jobs:
66
test:
7+
strategy:
8+
matrix:
9+
target: ['22.6']
710
uses: snapshot-labs/actions/.github/workflows/test.yml@main
811
secrets: inherit
912
with:
1013
mysql_database_name: hub_test
14+
target: ${{ matrix.target }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Node version matching the version declared in the package.json
2-
FROM node:16-slim
2+
FROM node:22.6.0-slim
33

44
# Update O.S.
55
RUN apt-get update && apt-get upgrade -y

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"extends": "@snapshot-labs"
2121
},
2222
"prettier": "@snapshot-labs/prettier-config",
23+
"engines": {
24+
"node": ">=22.6"
25+
},
2326
"dependencies": {
2427
"@graphql-tools/schema": "^10.0.0",
2528
"@snapshot-labs/keycard": "^0.5.1",

0 commit comments

Comments
 (0)