Skip to content

Commit

Permalink
Merge pull request #352 from rtibbles/update_action
Browse files Browse the repository at this point in the history
Update lint action to use yarn lockfile.
  • Loading branch information
MisRob authored Aug 23, 2022
2 parents 41db26f + 409a07a commit 7324ffa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
with:
node-version: 10.x

- name: npm load cache
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-actions-npm-${{ github.sha }}
key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-actions-npm-
${{ runner.OS }}-node-
- run: npm install
- run: yarn --frozen-lockfile

- name: Pre-generate docs
run: yarn run pregenerate
Expand Down

0 comments on commit 7324ffa

Please sign in to comment.