forked from wet-boew/wet-boew
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (38 loc) · 978 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
name: CI
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.0
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install puppeteer libraries
run: |
sudo apt-get update
sudo apt-get install -y libgbm1
- run: gem install rake html-proofer
- run: npm i -g bower grunt-cli
- run: npm ci
# - run: grunt dist
- if: ${{ !env.ACT }}
run: grunt test
- run: grunt htmllint
- run: grunt bootlint
- run: npm test
- run: rake