summaryrefslogtreecommitdiff
path: root/.gitea
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-03-25 18:10:26 +0300
committerAndrew Dolgov <[email protected]>2023-03-25 18:10:26 +0300
commitd305532bcef91061c39db13872d44c4f859054b7 (patch)
tree2ec7223a7cf7152675c3bd688f82ee14c9a288e3 /.gitea
parent903b9dbb8b0ab1e47075c05f2dc0b5196c0eaa38 (diff)
commit package-lock.json, add eslint task
Diffstat (limited to '.gitea')
-rw-r--r--.gitea/workflows/lint.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml
index 20a14ee97..64be3efb8 100644
--- a/.gitea/workflows/lint.yaml
+++ b/.gitea/workflows/lint.yaml
@@ -18,6 +18,12 @@ jobs:
- name: checkout source
uses: actions/checkout@v3
+ - name: npm install
+ run: npm install
+
+ - name: eslint
+ run: npx eslint js plugins
+
- name: calculate cache key hash
uses: actions/[email protected]
id: cache-hash