chore(ci): use ubuntu 22.04 for now (#483) #548
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: Tests | |
on: | |
pull_request: | |
branches: [ master ] | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
# Hopefully temporary fix for Puppeteer "No usable sandbox!" error which we get on Ubuntu 24.04+ | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
cache: 'pnpm' | |
- run: pnpm i --frozen-lockfile | |
- run: sudo apt-get install fonts-noto-color-emoji | |
- run: pnpm lint | |
- run: pnpm benchmark:bundlesize | |
- run: pnpm cover | |
- run: npx puppeteer browsers install chrome | |
- run: pnpm test:leak |