Skip to content

Commit 1e67a9e

Browse files
committed
add workflow for CI (it was missing - compare to node sample client)
1 parent a6caa83 commit 1e67a9e

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI for Node.js React Sample App
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
9+
- uses: actions/setup-node@v4
10+
with:
11+
node-version: 20
12+
13+
- name: Install server
14+
run: yarn --cwd server install
15+
16+
- name: Install client
17+
run: yarn --cwd client install
18+
19+
- name: Lint server source
20+
run: yarn --cwd server lint
21+
22+
- name: Lint client source
23+
run: yarn --cwd client lint

0 commit comments

Comments
 (0)