We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb8fc38 commit 5912763Copy full SHA for 5912763
.github/workflows/lint.yml
@@ -0,0 +1,30 @@
1
+name: Lint
2
+
3
+on: push
4
5
+jobs:
6
+ run-linters:
7
+ name: Run linters
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - name: Check out Git repository
12
+ uses: actions/checkout@v2
13
14
+ - name: Read .nvmrc
15
+ run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
16
+ id: nvm
17
18
+ - name: Use Node.js ${{ steps.nvm.outputs.NVMRC }}
19
+ uses: actions/setup-node@v1
20
+ with:
21
+ node-version: "${{ steps.nvm.outputs.NVMRC }}"
22
23
+ - run: npm ci
24
25
+ - name: Run linters
26
+ uses: samuelmeuli/lint-action@v1
27
28
+ github_token: ${{ secrets.github_token }}
29
+ # Enable your linters here
30
+ eslint: true
0 commit comments