summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-10-28 01:16:13 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-10-28 01:16:13 +0900
commitd35b02fa236ce825e7d96a8d85d710dccc62bdb8 (patch)
treee507e34c665a581ae20eb5f7ba21e2e23a593d24 /.github/workflows/lint.yml
parentfix test (diff)
downloadsharkey-d35b02fa236ce825e7d96a8d85d710dccc62bdb8.tar.gz
sharkey-d35b02fa236ce825e7d96a8d85d710dccc62bdb8.tar.bz2
sharkey-d35b02fa236ce825e7d96a8d85d710dccc62bdb8.zip
Improve CI
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 0000000000..0b3bbc186f
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,21 @@
+name: Lint
+
+on:
+ push:
+ branches:
+ - master
+ - develop
+ pull_request:
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: true
+ - uses: actions/setup-node@v1
+ with:
+ node-version: 12.x
+ - run: yarn install
+ - run: yarn lint