Skip to content

Merge pull request #23 from LarsBergqvist/dependabot/npm_and_yarn/wor… #49

Merge pull request #23 from LarsBergqvist/dependabot/npm_and_yarn/wor…

Merge pull request #23 from LarsBergqvist/dependabot/npm_and_yarn/wor… #49

Workflow file for this run

name: CI
on:
push:
branches: [main]
jobs:
test-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install packages
run: yarn install
- name: Run tests
run: |
sudo apt-get install xvfb
xvfb-run --auto-servernum yarn test
- name: Build
run: |
yarn build