Skip to content

Commit e0f7492

Browse files
committed
chore(website): try fixing twoslash
1 parent 62332a0 commit e0f7492

File tree

735 files changed

+94376
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

735 files changed

+94376
-20
lines changed

.github/workflows/deploy-website.yml

Lines changed: 64 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,13 @@ jobs:
2020
with:
2121
fetch-depth: 0 # Not needed if lastUpdated is not enabled
2222
- uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
23-
- name: Setup Node
24-
uses: actions/setup-node@v4
25-
with:
26-
node-version: 20
27-
cache: pnpm
23+
# - name: Setup Node
24+
# uses: actions/setup-node@v4
25+
# with:
26+
# node-version: 22
27+
# cache: pnpm
2828
- name: Setup Pages
2929
uses: actions/configure-pages@v5
30-
# In order to build the website we need to have the library built first.
31-
# This is because the Twoslash will depend on the types from Graffle,
32-
# which in this setup is coming from a pnpm install targetting the local
33-
# library file path.
34-
- name: Install Library Dependencies
35-
run: pnpm install
36-
- name: Build Library
37-
run: pnpm build
38-
- name: Install Website Dependencies
39-
working-directory: website
40-
run: pnpm install
41-
- name: Build Website
42-
working-directory: website
43-
run: pnpm build
4430
- name: Upload artifact
4531
uses: actions/upload-pages-artifact@v3
4632
with:
@@ -56,3 +42,62 @@ jobs:
5642
- name: Deploy to GitHub Pages
5743
id: deployment
5844
uses: actions/deploy-pages@v4
45+
46+
# name: Deploy Website
47+
# on:
48+
# push:
49+
# branches: [main]
50+
# # Allows us to run this workflow manually from the Actions tab
51+
# workflow_dispatch:
52+
# permissions:
53+
# contents: read
54+
# pages: write
55+
# id-token: write
56+
# concurrency:
57+
# group: deploy-website
58+
# cancel-in-progress: false
59+
# jobs:
60+
# build:
61+
# runs-on: ubuntu-latest
62+
# steps:
63+
# - name: Checkout
64+
# uses: actions/checkout@v4
65+
# with:
66+
# fetch-depth: 0 # Not needed if lastUpdated is not enabled
67+
# - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
68+
# - name: Setup Node
69+
# uses: actions/setup-node@v4
70+
# with:
71+
# node-version: 22
72+
# cache: pnpm
73+
# - name: Setup Pages
74+
# uses: actions/configure-pages@v5
75+
# # In order to build the website we need to have the library built first.
76+
# # This is because the Twoslash will depend on the types from Graffle,
77+
# # which in this setup is coming from a pnpm install targetting the local
78+
# # library file path.
79+
# - name: Install Library Dependencies
80+
# run: pnpm install
81+
# - name: Build Library
82+
# run: pnpm build
83+
# - name: Install Website Dependencies
84+
# working-directory: website
85+
# run: pnpm install
86+
# - name: Build Website
87+
# working-directory: website
88+
# run: pnpm build
89+
# - name: Upload artifact
90+
# uses: actions/upload-pages-artifact@v3
91+
# with:
92+
# path: website/.vitepress/dist
93+
# deploy:
94+
# environment:
95+
# name: github-pages
96+
# url: ${{ steps.deployment.outputs.page_url }}
97+
# needs: build
98+
# runs-on: ubuntu-latest
99+
# name: Deploy
100+
# steps:
101+
# - name: Deploy to GitHub Pages
102+
# id: deployment
103+
# uses: actions/deploy-pages@v4

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ build
66
coverage
77
tsconfig.vitest-temp.json
88
website/.vitepress/.temp
9-
website/.vitepress/dist
109
website/.vitepress/cache
1110
legacy
1211
project/

website/.vitepress/dist/404.html

Lines changed: 22 additions & 0 deletions
Large diffs are not rendered by default.

website/.vitepress/dist/_assets/graffle-request.svg

Lines changed: 43 additions & 0 deletions
Loading
Loading
35.3 KB
Loading
Lines changed: 8 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)