We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 878782b commit 7b98450Copy full SHA for 7b98450
2 files changed
.github/actions/install-dependencies/action.yml
@@ -9,6 +9,14 @@ runs:
9
node-version: 20
10
cache: 'yarn'
11
12
+ - name: Cache node modules
13
+ uses: actions/cache@v3
14
+ with:
15
+ path: node_modules
16
+ key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
17
+ restore-keys: |
18
+ ${{ runner.os }}-node-
19
+
20
- name: Install dependencies
21
run: yarn install
22
shell: bash
.github/workflows/lint.yml
@@ -16,6 +16,11 @@ jobs:
with:
fetch-depth: 0
+ - name: Install dependencies
+ uses: ./.github/actions/install-dependencies
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
24
- name: Run ESLint
25
run: yarn run lint
26
continue-on-error: false
0 commit comments