Skip to content

Commit 00c836f

Browse files
committed
CI changes
Some renaming and added CI for JS tests.
1 parent 8607d46 commit 00c836f

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

.github/workflows/tests.yml renamed to .github/workflows/test_go.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: Test Go
22

33
on:
44
push:
@@ -7,7 +7,6 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
1110
build:
1211
runs-on: ubuntu-latest
1312
steps:

.github/workflows/test_js.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test JS
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: web
15+
strategy:
16+
matrix:
17+
node-version: [16.x]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v2
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: 'npm'
26+
27+
- name: Install dependencies
28+
run: yarn install
29+
30+
- name: Run tests
31+
run: yarn test

0 commit comments

Comments
 (0)