mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: add eslint workflow
This commit is contained in:
1 parent
280e246430
commit
268f9fe4b1
3 files changed
+24
No files matched your search
@@ -2,3 +2,4 @@ vite.config.js
|
|||||||
.gitignore
|
.gitignore
|
||||||
data
|
data
|
||||||
mongo-init.js
|
mongo-init.js
|
||||||
|
app/dist
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
name: ESLint Checks
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: yarn install
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: yarn lint
|
||||||
@@ -1 +1,2 @@
|
|||||||
data/*
|
data/*
|
||||||
|
app/dist
|
||||||
Reference in new issue
Block a user