parent
c825caa91c
commit
e37c78dc4f
@ -0,0 +1,24 @@ |
||||
name: CI |
||||
on: [push] |
||||
|
||||
jobs: |
||||
build: |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
- name: Use Node.js 12.11.0 |
||||
uses: actions/setup-node@v1 |
||||
with: |
||||
node-version: 12.11.0 |
||||
- run: npm install |
||||
- run: npm run lint |
||||
- run: npm run build |
||||
- run: npm run test:node |
||||
- name: Run headless test |
||||
uses: GabrielBB/xvfb-action@v1 |
||||
with: |
||||
run: npm run test:browser |
||||
- run: npm run test:typings |
||||
- run: npm run test:deps |
||||
- run: npm run test:size |
||||
- run: npm run build:size |
@ -1,28 +0,0 @@ |
||||
language: node_js |
||||
sudo: required |
||||
cache: false |
||||
os: |
||||
- linux |
||||
node_js: |
||||
- "12.11.0" |
||||
|
||||
services: |
||||
- xvfb |
||||
|
||||
addons: |
||||
chrome: stable |
||||
firefox: stable |
||||
|
||||
script: |
||||
- echo "versions" |
||||
- openssl version |
||||
- node -v |
||||
- npm install |
||||
- npm run lint |
||||
- npm run build |
||||
- npm run test:node |
||||
- travis_retry npm run test:browser |
||||
- npm run test:typings |
||||
- npm run test:deps |
||||
- npm run test:size |
||||
- npm run build:size |
Loading…
Reference in new issue