Skip to content

Commit ef93bec

Browse files
committed
ci: add test workflow
1 parent a788fc3 commit ef93bec

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Docs Test
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test-docs:
9+
name: Test docs
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
15+
- name: Install pnpm
16+
uses: pnpm/action-setup@v2
17+
with:
18+
run_install: true
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 18
24+
cache: pnpm
25+
26+
- name: Build test
27+
env:
28+
NODE_OPTIONS: --max_old_space_size=4096
29+
run: pnpm docs:build

0 commit comments

Comments
 (0)