chore: Small test cleanup & versions upgrade. #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Style checks | |
run: yarn lint | |
- name: Build | |
run: yarn build | |
- name: Tests | |
run: yarn test | |
browser: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Build esm | |
run: yarn build:esm | |
- name: Install puppeteer and static | |
run: yarn add [email protected] [email protected] | |
- name: Launch static | |
run: yarn static & | |
- name: Browser Test | |
run: node puppeteer.js | |