Skip to content

Commit 21b9b57

Browse files
authored
Merge pull request #20 from Xwilarg/codacy-node-v
fix codacy unsupported features err
2 parents 7d90e0f + 45a6b48 commit 21b9b57

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/CI.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
16-
- name: Use Node.js 16.x
17-
uses: actions/setup-node@v1
15+
- uses: actions/checkout@v3
16+
- name: Use Node.js 18
17+
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16.x
19+
node-version: 18
2020
- run: npm install
2121
- run: npm test
2222
- run: npm run build

package-lock.json

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"name": "chessweeper",
44
"version": "1.0.0",
55
"description": "Chess X Minesweeper",
6+
"engines": {
7+
"node": ">=18.0.0"
8+
},
69
"scripts": {
710
"start": "vite",
811
"preview": "vite preview",

0 commit comments

Comments
 (0)