-
Notifications
You must be signed in to change notification settings - Fork 14
48 lines (38 loc) · 1000 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Node CI
on:
push:
branches:
- master
pull_request:
branches:
- "**"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: 18
- name: Export CHROME_BIN Env Variable
run: export CHROME_BIN=chromium-browser
- name: Export Display Variable
run: export DISPLAY=:99.0
- name: Install Ruby
uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e
with:
ruby-version: 2.7.3
- name: Install Dependencies
run: npm install
- name: Bundle Install
run: bundle install
- name: Install Firefox
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y firefox xvfb
- name: Run Gulp
uses: GabrielBB/xvfb-action@v1
with:
run: gulp default --ci