chore(deps): update devdependencies (major) (major) #605
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: pr | |
on: | |
- pull_request | |
jobs: | |
format-imports: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile | |
- run: yarn format:check:imports | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile | |
- run: yarn format:check:prettier | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile | |
- run: yarn lint:check | |
test: | |
strategy: | |
matrix: | |
os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | |
node-version: [14.x, 16.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- run: yarn --frozen-lockfile | |
- run: yarn build | |
- run: yarn test |