This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Update dependency jest to v29 #110
Workflow file for this run
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: 'ci' | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: bahmutov/npm-install@v1 | |
- name: Run lint | |
run: yarn lint | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: bahmutov/npm-install@v1 | |
- name: Run code style lint | |
run: yarn style | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['12', '14', '16'] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: bahmutov/npm-install@v1 | |
- name: Run unit tests | |
run: yarn test | |
test-types: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: bahmutov/npm-install@v1 | |
- name: Run type declaration tests | |
run: yarn test:types |