Skip to content

Commit

Permalink
Use actions/setup-node npm cache
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Stamm <ts@timostamm.de>
  • Loading branch information
timostamm committed Aug 30, 2024
1 parent bde21ef commit f71883e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand All @@ -39,6 +40,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand All @@ -55,6 +57,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand All @@ -69,6 +72,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand All @@ -83,6 +87,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand All @@ -99,6 +104,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand All @@ -121,6 +127,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand All @@ -140,6 +147,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/conformance-express.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/conformance-fastify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/conformance-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/conformance-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand All @@ -55,6 +56,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/cache@v4
with:
path: .turbo
Expand Down

0 comments on commit f71883e

Please sign in to comment.