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

init default vite project (#36) #123

init default vite project (#36)

init default vite project (#36) #123

Workflow file for this run

name: Lint-Node
on: [push, pull_request]

Check failure on line 3 in .github/workflows/nodejs-lint.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/nodejs-lint.yaml

Invalid workflow file

You have an error in your yaml syntax on line 3
branches: [main]
jobs:
lint-node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node environment
uses: actions/setup-node@v3
with:
node-version: 18
- name: clean install
working-directory: ./frontend/
run: npm ci
- name: run eslint
working-directory: ./frontend/
run: |
npx eslint App.tsx `find ./src -type f \( -name "*.ts" -o -name "*.tsx" \)` --debug