Rename some Github Actions files for consistency.

This commit is contained in:
Fabien Basmaison
2021-03-31 18:02:11 +02:00
parent 99fd5c4e17
commit 54ae4d9e44
2 changed files with 0 additions and 0 deletions

29
.github/workflows/lint-frontend.yaml vendored Normal file
View File

@ -0,0 +1,29 @@
# @url https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: Lint Frontend
on:
push:
branches: [ main, ci ]
paths:
- '.github/workflows/**'
- 'static/**'
pull_request:
branches: [ main, ci ]
jobs:
lint:
name: Lint with stylelint and ESLint.
runs-on: ubuntu-20.04
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Install modules
run: yarn
- name: Run stylelint
run: yarn stylelint **/static/**/*.css --report-needless-disables --report-invalid-scope-disables
- name: Run ESLint
run: yarn eslint . --ext .js,.jsx,.ts,.tsx