-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (33 loc) · 952 Bytes
/
pr-build.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
name: Check PR
on:
pull_request:
branches: [ develop, master, rgis-develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Start google chrome
run: |
sudo chown root /opt/google/chrome/chrome-sandbox
sudo sudo chmod 4755 /opt/google/chrome/chrome-sandbox
google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost &
- name: Install ember and bower
run: |
set -x
node -v
npm install -g bower
npm install -g ember-cli@2.4.3
yarn install
bower install
- name: Run ember try:one default test
run: |
set -x
ember try:one default test