Skip to content

Commit 09260f3

Browse files
✨ align node cache
1 parent 0165989 commit 09260f3

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ on:
99

1010
jobs:
1111
build-and-deploy:
12-
name: Build and Deploy
12+
name: Build and deploy Github Page
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- name: Checkout Repository
17-
uses: actions/checkout@v3
16+
- name: Checkout
17+
- uses: actions/checkout@v4
18+
with: {fetch-depth: 0}
1819

1920
- name: Setup Node.js
20-
uses: actions/setup-node@v4
21+
- uses: actions/setup-node@v4
2122
with:
22-
node-version: "18"
23-
cache: 'npm'
23+
node-version: 18
24+
registry-url: https://registry.npmjs.org/
25+
cache: npm
2426

2527
- name: Cache node modules
2628
uses: actions/cache@v4

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616
id-token: write
1717

1818
steps:
19+
- name: Checkout
1920
- uses: actions/checkout@v4
2021
with: {fetch-depth: 0}
2122

23+
- name: Setup Node.js
2224
- uses: actions/setup-node@v4
2325
with:
2426
node-version: 18

0 commit comments

Comments
 (0)