Skip to content

chore: add eslint file extension rule #151

chore: add eslint file extension rule

chore: add eslint file extension rule #151

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- v1.x
- release/beta
pull_request:
branches:
- main
- v1.x
- release/beta
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
permissions:
contents: read
actions: write
steps:
- name: Check out git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: "yarn"
- name: Install yarn dependencies
run: yarn install
- name: Lint
run: |
yarn lint
yarn prettier