2021-12-19 17:56:01 +01:00
|
|
|
name: Tests
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
2023-06-18 20:57:42 +02:00
|
|
|
push:
|
|
|
|
branches: [ master ]
|
2021-12-19 17:56:01 +01:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-03-17 18:54:21 +01:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
2021-12-19 17:56:01 +01:00
|
|
|
with:
|
2023-11-11 18:06:31 +01:00
|
|
|
node-version: '20'
|
2021-12-19 17:56:01 +01:00
|
|
|
cache: 'yarn'
|
|
|
|
- run: sudo apt-get install fonts-noto-color-emoji
|
2022-02-08 16:41:52 +01:00
|
|
|
- run: yarn --frozen-lockfile
|
2021-12-19 17:56:01 +01:00
|
|
|
- run: yarn lint
|
|
|
|
- run: yarn benchmark:bundlesize
|
|
|
|
- run: yarn cover
|
2022-02-08 16:41:52 +01:00
|
|
|
- run: yarn test:leak
|