blob: 93ef149c3ae110228cdbcc0a26e53a591be4516f (
plain)
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
|
name: Node.js tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: export CHROME_BIN
run: export CHROME_BIN=chromium-browser
- name: export DISPLAY
run: export DISPLAY=:99.0
- name: Install yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn install
- name: Run tests
uses: GabrielBB/xvfb-action@v1.0
with:
run: ./scripts/test/ci.sh
env:
TEST_SUITE: node
|