From 3afa8c041c3865ae98a1558d06bfd3a2080243ab Mon Sep 17 00:00:00 2001 From: swve Date: Sun, 7 May 2023 20:34:24 +0000 Subject: [PATCH] chore: add lint for front --- .github/workflows/frontend-lint.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/frontend-lint.yaml diff --git a/.github/workflows/frontend-lint.yaml b/.github/workflows/frontend-lint.yaml new file mode 100644 index 00000000..59d8d058 --- /dev/null +++ b/.github/workflows/frontend-lint.yaml @@ -0,0 +1,18 @@ +name: Frontend Lint +on: [ push, pull_request ] +jobs: + next-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + path: front + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: 18.x + - name: Install dependencies + run: npm ci + - name: Lint code + run: npm run lint \ No newline at end of file