fix: avoid newer JS syntax to support old Safari (#380) #225
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: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- run: sudo apt-get install fonts-noto-color-emoji | |
- run: yarn --frozen-lockfile | |
- run: yarn lint | |
- run: yarn benchmark:bundlesize | |
- run: yarn cover | |
- run: yarn test:leak |