Skip to content

Commit e6647f5

Browse files
committed
workflow fix
1 parent 9037818 commit e6647f5

3 files changed

Lines changed: 121 additions & 32 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,19 @@ jobs:
2727
with:
2828
node-version: '20'
2929

30-
- name: Setup pnpm
31-
uses: pnpm/action-setup@v3
32-
with:
33-
version: 9
34-
35-
- name: Get pnpm store directory
36-
shell: bash
37-
run: |
38-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
39-
40-
- name: Setup pnpm cache
30+
- name: Setup Node.js cache
4131
uses: actions/cache@v4
4232
with:
43-
path: ${{ env.STORE_PATH }}
44-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
33+
path: ~/.npm
34+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
4535
restore-keys: |
46-
${{ runner.os }}-pnpm-store-
36+
${{ runner.os }}-node-
4737
4838
- name: Install dependencies
49-
run: pnpm install --frozen-lockfile
39+
run: npm ci
5040

5141
- name: Build with VitePress
52-
run: pnpm docs:build
42+
run: npm run build
5343

5444
- name: Upload artifact
5545
uses: actions/upload-pages-artifact@v3

.github/workflows/link-check.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,19 @@ jobs:
1818
with:
1919
node-version: '20'
2020

21-
- name: Setup pnpm
22-
uses: pnpm/action-setup@v3
23-
with:
24-
version: 9
25-
26-
- name: Get pnpm store directory
27-
shell: bash
28-
run: |
29-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
30-
31-
- name: Setup pnpm cache
21+
- name: Setup Node.js cache
3222
uses: actions/cache@v4
3323
with:
34-
path: ${{ env.STORE_PATH }}
35-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
24+
path: ~/.npm
25+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
3626
restore-keys: |
37-
${{ runner.os }}-pnpm-store-
27+
${{ runner.os }}-node-
3828
3929
- name: Install dependencies
40-
run: pnpm install --frozen-lockfile
30+
run: npm ci
4131

4232
- name: Build documentation
43-
run: pnpm docs:build
33+
run: npm run build
4434

4535
- name: Check links with markdown-link-check
4636
uses: gaurav-nelson/github-action-markdown-link-check@v1

.gitignore

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# Dependencies
2+
node_modules/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
pnpm-debug.log*
7+
8+
# Build outputs
9+
dist/
10+
build/
11+
.vitepress/cache/
12+
.vitepress/dist/
13+
14+
# Environment files
15+
.env
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
# OS generated files
22+
.DS_Store
23+
.DS_Store?
24+
._*
25+
.Spotlight-V100
26+
.Trashes
27+
ehthumbs.db
28+
Thumbs.db
29+
30+
# Editor files
31+
.vscode/
32+
.idea/
33+
*.swp
34+
*.swo
35+
*~
36+
37+
# Logs
38+
logs/
39+
*.log
40+
41+
# Runtime data
42+
pids/
43+
*.pid
44+
*.seed
45+
*.pid.lock
46+
47+
# Coverage directory used by tools like istanbul
48+
coverage/
49+
*.lcov
50+
51+
# Temporary folders
52+
tmp/
53+
temp/
54+
55+
# Optional npm cache directory
56+
.npm
57+
58+
# Optional eslint cache
59+
.eslintcache
60+
61+
# Microbundle cache
62+
.rpt2_cache/
63+
.rts2_cache_cjs/
64+
.rts2_cache_es/
65+
.rts2_cache_umd/
66+
67+
# Optional REPL history
68+
.node_repl_history
69+
70+
# Output of 'npm pack'
71+
*.tgz
72+
73+
# Yarn Integrity file
74+
.yarn-integrity
75+
76+
# parcel-bundler cache (https://parceljs.org/)
77+
.cache
78+
.parcel-cache
79+
80+
# next.js build output
81+
.next
82+
83+
# nuxt.js build output
84+
.nuxt
85+
86+
# vuepress build output
87+
.vuepress/dist
88+
89+
# Serverless directories
90+
.serverless
91+
92+
# FuseBox cache
93+
.fusebox/
94+
95+
# DynamoDB Local files
96+
.dynamodb/
97+
98+
# TernJS port file
99+
.tern-port
100+
101+
# Stores VSCode versions used for testing VSCode extensions
102+
.vscode-test
103+
104+
# Vite
105+
.vite/
106+
107+
# Site specific
108+
netlify/
109+
.vercel/

0 commit comments

Comments
 (0)