Skip to content

Commit 4d0a3d7

Browse files
committed
github actions
1 parent 1bfd2e3 commit 4d0a3d7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@master
11+
- name: Start xvfb
12+
run: |
13+
set -e
14+
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
15+
disown -ar
16+
- name: Use Node.js
17+
uses: actions/setup-node@master
18+
with:
19+
version: 10
20+
- run: npm install
21+
- run: npm run compile
22+
- run: npm run test
23+
env:
24+
DISPLAY: :10
25+
- run: npm run package

0 commit comments

Comments
 (0)