summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorrinsuki <428rinsuki+git@gmail.com>2020-03-04 11:45:33 +0900
committerGitHub <noreply@github.com>2020-03-04 11:45:33 +0900
commitc18f6fde80c4672df2d2b98d4ecd45bb2958a97d (patch)
tree847bfbfebf117b7a6d01345307cc8dcbfcf20f32 /.github
parentMerge pull request #6121 from syuilo/patch/autogen/v11 (diff)
downloadsharkey-c18f6fde80c4672df2d2b98d4ecd45bb2958a97d.tar.gz
sharkey-c18f6fde80c4672df2d2b98d4ecd45bb2958a97d.tar.bz2
sharkey-c18f6fde80c4672df2d2b98d4ecd45bb2958a97d.zip
lintをGitHub Actions でするように (#6101)
* package.json の lint スクリプトを修正 * lint アクションを追加 * yarn lint --fix * 手動修正
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/nodejs.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
index d8c29abc37..91668786e2 100644
--- a/.github/workflows/nodejs.yml
+++ b/.github/workflows/nodejs.yml
@@ -41,3 +41,13 @@ jobs:
run: yarn build
- name: Test
run: yarn test
+
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v1
+ with:
+ node-version: 12.x
+ - run: yarn install
+ - run: yarn lint