Update issue-triage.yml (#4356) #4243
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: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v2.4.1 | |
with: | |
node-version: '20.x' | |
- name: Set yarn version | |
run: yarn set version 4.0.1 | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Check formatting of project files | |
run: yarn format:check | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v2.4.1 | |
with: | |
node-version: '20.x' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Lint JavaScript files | |
run: yarn lint:js |