Skip to content

Commit 89eeeb7

Browse files
authored
Merge pull request #59 from GitGuardian/salomevoltz/add-simple-ci
Add simple CI to run tests
2 parents 47fc192 + 7ecbdfc commit 89eeeb7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- "*"
8+
tags-ignore:
9+
- "*"
10+
paths-ignore:
11+
- "README.md"
12+
13+
jobs:
14+
build-and-test:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v3
20+
21+
- name: Set up Node.js
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: "18"
25+
26+
- name: Install dependencies
27+
run: yarn install
28+
29+
- name: Run tests
30+
run: xvfb-run --auto-servernum yarn test

0 commit comments

Comments
 (0)