Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

update node and fix python error #21

update node and fix python error

update node and fix python error #21

Workflow file for this run

name: Lint
on:
pull_request:
paths:
- 'ui/**'
- '.github/workflows/ui-test.yml'
branches:
- master
jobs:
run-linters:
name: run UI lint
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
sparse-checkout: 'ui'
sparse-checkout-cone-mode: false
- name: Move UI files to root
run: |
ls -lah
shopt -s dotglob
mv ui/* .
rm -rf ui
ls -lah
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: yarn install --frozen-lockfile --silent
- name: Lint
uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review # Change reporter.
eslint_flags: 'pages/ store/ components/ graphql/'
- name: Typecheck
uses: andoshin11/typescript-error-reporter-action@v1.0.2