tangled
alpha
login
or
join now
danabra.mov
/
typelex
56
fork
atom
An experimental TypeSpec syntax for Lexicon
56
fork
atom
overview
issues
1
pulls
2
pipelines
uh maybe
danabra.mov
5 months ago
37d0d6b9
4cd73f7c
+40
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
deploy.yaml
+40
.tangled/workflows/deploy.yaml
reviewed
···
1
1
+
name: Deploy
2
2
+
3
3
+
on:
4
4
+
push:
5
5
+
branches: [main]
6
6
+
7
7
+
jobs:
8
8
+
deploy:
9
9
+
runs-on: ubuntu-latest
10
10
+
steps:
11
11
+
- uses: actions/checkout@v4
12
12
+
13
13
+
- uses: pnpm/action-setup@v4
14
14
+
with:
15
15
+
version: 9
16
16
+
17
17
+
- uses: actions/setup-node@v4
18
18
+
with:
19
19
+
node-version: '20'
20
20
+
cache: 'pnpm'
21
21
+
22
22
+
- name: Install dependencies
23
23
+
run: pnpm install
24
24
+
25
25
+
- name: Build website
26
26
+
run: pnpm run build
27
27
+
working-directory: ./packages/website
28
28
+
29
29
+
- name: Build playground
30
30
+
run: pnpm run build
31
31
+
working-directory: ./packages/playground
32
32
+
33
33
+
Deployment commands (commented out - uncomment when ready to deploy):
34
34
+
- name: Deploy playground
35
35
+
run: npx --yes wrangler pages deploy --branch main --project-name typelex-playground ./dist/
36
36
+
working-directory: ./packages/playground
37
37
+
38
38
+
- name: Deploy website
39
39
+
run: npx --yes wrangler pages deploy --branch main --project-name typelex ./dist/
40
40
+
working-directory: ./packages/website