Skip to content

Commit

Permalink
fixed github actions dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed May 2, 2024
1 parent 76e2f0c commit c25ecd2
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,24 @@ jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18

- name: Use cached node_modules
uses: actions/cache@v1
with:
path: node_modules
key: node_modules+${{ hashFiles('**/yarn.lock') }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn install --frozen-lockfile
- name: Install
run: yarn install --frozen-lockfile

- name: Lint
run: yarn lint
- name: Lint
run: yarn lint

0 comments on commit c25ecd2

Please sign in to comment.