Skip to content

Commit 2edf06f

Browse files
committed
Add CI workflow
1 parent 9b4ab7f commit 2edf06f

3 files changed

Lines changed: 28 additions & 68 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [18.x, 20.x, 22.x]
17+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: 'npm'
26+
- run: npm ci
27+
- run: npm run build --if-present
28+
- run: npm test

package-lock.json

Lines changed: 0 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"@types/react": "^19.2.2",
2222
"@types/react-dom": "^19.2.2",
2323
"@vitejs/plugin-react": "^5.1.0",
24-
"electron-vite": "^4.0.1",
2524
"eslint": "^9.39.1",
2625
"eslint-plugin-react-hooks": "^7.0.1",
2726
"eslint-plugin-react-refresh": "^0.4.24",

0 commit comments

Comments
 (0)