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.
2 parents 50d56a5 + 692596e commit 9b6ad76Copy full SHA for 9b6ad76
.github/workflows/validate-pr.yml
@@ -75,3 +75,29 @@ jobs:
75
76
- name: Jest test
77
run: yarn test --passWithNoTests
78
+
79
+ lint:
80
+ name: Run Eslint
81
+ runs-on: ubuntu-latest
82
+ steps:
83
+ - name: Checkout repository
84
+ uses: actions/checkout@v2
85
86
+ - name: Setup Node.js
87
+ uses: actions/setup-node@v2
88
+ with:
89
+ node-version: 12
90
91
+ - name: Cache dependencies
92
+ id: yarn-cache
93
+ uses: actions/cache@v2
94
95
+ path: '**/node_modules'
96
+ key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
97
98
+ - name: Install dependencies
99
+ if: steps.yarn-cache.outputs.cache-hit != 'true'
100
+ run: yarn install --frozen-lockfile
101
102
+ - name: Run Eslint
103
+ run: yarn lint
0 commit comments