File tree Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : generate-graph
2
+ on :
3
+ push :
4
+ branches : [main]
5
+ # pull_request:
6
+ workflow_dispatch :
7
+
8
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9
+ permissions :
10
+ contents : read
11
+ pages : write
12
+ id-token : write
13
+
14
+ concurrency :
15
+ group : ' pages'
16
+ cancel-in-progress : true
17
+ jobs :
18
+ build :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : clone
22
+ - uses : actions/checkout@v2
23
+
24
+ - name : Install Node.js
25
+ uses : actions/setup-node@v3
26
+ with :
27
+ node-version : 16
28
+
29
+ - uses : pnpm/action-setup@v2
30
+ name : Install pnpm
31
+ id : pnpm-install
32
+ with :
33
+ version : 7
34
+ run_install : false
35
+
36
+ - name : Get pnpm store directory
37
+ id : pnpm-cache
38
+ shell : bash
39
+ run : |
40
+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
41
+
42
+ - uses : actions/cache@v3
43
+ name : Setup pnpm cache
44
+ with :
45
+ path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
46
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
47
+ restore-keys : |
48
+ ${{ runner.os }}-pnpm-store-
49
+
50
+ - name : Install dependencies
51
+ run : pnpm install
52
+
53
+ # - name: Build
54
+ # run: pnpm build
55
+
56
+ - name : Generate graph
57
+ run : pnpm run generate-graph
58
+
59
+ # Push `index.html` and `static` folder to `github-pages` branch
60
+ - name : Upload artifact
61
+ uses : actions/upload-pages-artifact@v1
62
+ with :
63
+ path : ./graph
64
+
65
+ # Deployment job
66
+ deploy :
67
+ environment :
68
+ name : github-pages
69
+ url : ${{ steps.deployment.outputs.page_url }}
70
+ runs-on : ubuntu-latest
71
+ needs : build
72
+ steps :
73
+ - name : Deploy to GitHub Pages
74
+ id : deployment
75
+ uses : actions/deploy-pages@v1
Original file line number Diff line number Diff line change @@ -262,6 +262,8 @@ Port of [hast-util-is-element](https://github.com/syntax-tree/hast-util-has-prop
262
262
263
263
Port of ` (hast-util-select)[https://github.com/syntax-tree/hast-util-select] ` for use with ` xast ` nodes.
264
264
265
+ <!--
266
+
265
267
## Projects
266
268
267
269
### rejour
@@ -335,6 +337,7 @@ Stringifier.
335
337
##### [texast-util-to-latex][texast-util-to-latex]
336
338
337
339
Utility for stringifying `texast` syntax trees, mostly based off of [mdast-util-to-markdown][mdast-markdown]
340
+ -->
338
341
339
342
## License
340
343
You can’t perform that action at this time.
0 commit comments