Skip to content

Commit 7199394

Browse files
authored
Add a CI Workflow (#8)
1 parent 61eb3f0 commit 7199394

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
concurrency: ${{ github.workflow }}
4+
5+
on:
6+
pull_request:
7+
push:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
test:
14+
name: Test the build
15+
runs-on: ubuntu-22.04
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Go
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version-file: go.mod
24+
25+
- name: Setup Node
26+
uses: actions/setup-node@v3
27+
with:
28+
node-version-file: .node-version
29+
cache: yarn
30+
31+
- name: Install JS dependencies
32+
run: yarn
33+
34+
- name: Test
35+
run: yarn test

0 commit comments

Comments
 (0)