Skip to content

Commit dd9523f

Browse files
committed
update
1 parent 79f284a commit dd9523f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/GHPagestest.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: GHPages
2+
3+
on:
4+
workflow_dispatch: null
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
10+
jobs:
11+
deploy:
12+
environment:
13+
name: github-pages
14+
url: ${{ steps.deployment.outputs.page_url }}
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- uses: pnpm/action-setup@v2
20+
- uses: actions/setup-node@v4
21+
- name: Install
22+
run: pnpm install
23+
- name: Build
24+
run: |
25+
cd packages/eslint-plugin-svelte
26+
pnpm run update
27+
pnpm build
28+
cd ../../docs-svelte-kit
29+
export NODE_OPTIONS="--max-old-space-size=8192"
30+
pnpm build

0 commit comments

Comments
 (0)