Skip to content

Commit

Permalink
chore(ci): move cache directory creation to the correct position in w…
Browse files Browse the repository at this point in the history
…orkflow
  • Loading branch information
MoinJulian committed Nov 21, 2024
1 parent aa36956 commit 1dd835c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
with:
node-version: lts/*

- name: Create cache directory if not exists
run: mkdir -p ~/.npm

- name: Cache node modules
uses: actions/cache@v3
with:
Expand All @@ -34,9 +37,6 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Create cache directory if not exists
run: mkdir -p ~/.npm

- name: Install dependencies
run: npm ci

Expand Down

0 comments on commit 1dd835c

Please sign in to comment.