Skip to content

Version Packages (#859) #2200

Version Packages (#859)

Version Packages (#859) #2200

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- uses: actions/cache@v3
with:
path: |
~/.npm
~/.config/yarn/global
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Yarn
run: |
npm install -g yarn
yarn install
- name: ESLint
run: yarn lint
- name: Prettier
run: yarn format:check
- name: Run Tests
run: yarn test
- name: Check browser target compatibility
run: |
yarn build
yarn compat