Merge pull request #102 from trinhthinh388/feat/autosizer #228
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: Lint | |
on: | |
pull_request: | |
branches: | |
- 'master' | |
- 'release' | |
push: | |
branches: | |
- 'master' | |
- 'release' | |
permissions: | |
actions: write | |
contents: read | |
jobs: | |
lint: | |
name: ⬣ ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛑 Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.11.0 | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.17.x | |
- name: 📥 Download deps | |
run: yarn install --frozen-lockfile | |
- name: 🔬 Lint | |
run: yarn lint |