Skip to content

Workflow file for this run

name: Build, test and check format
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Build package
run: yarn compile
- name: Test the package
run: xvfb-run -a npm test
if: runner.os == 'Linux'
- name: Check file formatting
run: yarn format:check