Skip to content

Commit 8aa3de4

Browse files
authored
Merge pull request #24 from open-olive/SIDE-986/improve-linting
[SIDE-986] Publish Node LDK docs on merge to master only
2 parents 2dfeea8 + c3415c8 commit 8aa3de4

File tree

80 files changed

+75
-20402
lines changed

Some content is hidden

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

80 files changed

+75
-20402
lines changed

.github/workflows/docs.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build and Deploy Documents
2+
3+
defaults:
4+
run:
5+
working-directory: ldk/node
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-node@v1
19+
with:
20+
node-version: 12.x
21+
- run: npm ci
22+
- run: npm run build
23+
- run: npm run doc
24+
- name: Deploy
25+
uses: peaceiris/actions-gh-pages@v3
26+
with:
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
publish_branch: gh-pages
29+
publish_dir: ./ldk/node/docs
30+
destination_dir: ldk/node
31+
force_orphan: true

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ jobs:
3434
- run: npm run build --if-present
3535
- run: npm run lint
3636
- run: npm run test
37+
- run: npm run doc

.gitignore

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ldk/node/build/bundle.js
1010
ldk/node/build/index.html
1111
ldk/node/build*
1212
ldk/node/build/*
13+
ldk/node/docs
1314

1415
# Go LDK build files for examples
1516
ldk/go/examples/**/build
@@ -71,20 +72,20 @@ Thumbs.db:*
7172
mono_crash.*
7273

7374
# Build results
74-
[Dd]ebug/
75-
[Dd]ebugPublic/
76-
[Rr]elease/
77-
[Rr]eleases/
78-
x64/
79-
x86/
80-
[Ww][Ii][Nn]32/
81-
[Aa][Rr][Mm]/
82-
[Aa][Rr][Mm]64/
83-
bld/
84-
[Bb]in/
85-
[Oo]bj/
86-
[Ll]og/
87-
[Ll]ogs/
75+
ldk/csharp/**/[Dd]ebug/
76+
ldk/csharp/**/[Dd]ebugPublic/
77+
ldk/csharp/**/[Rr]elease/
78+
ldk/csharp/**/[Rr]eleases/
79+
ldk/csharp/**/x64/
80+
ldk/csharp/**/x86/
81+
ldk/csharp/**/[Ww][Ii][Nn]32/
82+
ldk/csharp/**/[Aa][Rr][Mm]/
83+
ldk/csharp/**/[Aa][Rr][Mm]64/
84+
ldk/csharp/**/bld/
85+
ldk/csharp/**/[Bb]in/
86+
ldk/csharp/**/[Oo]bj/
87+
ldk/csharp/**/[Ll]og/
88+
ldk/csharp/**/[Ll]ogs/
8889

8990
# Visual Studio 2015/2017 cache/options directory
9091
.vs/
@@ -123,30 +124,30 @@ ScaffoldingReadMe.txt
123124
StyleCopReport.xml
124125

125126
# Files built by Visual Studio
126-
*_i.c
127-
*_p.c
128-
*_h.h
129-
*.ilk
130-
*.meta
131-
*.obj
132-
*.iobj
133-
*.pch
134-
*.pdb
135-
*.ipdb
136-
*.pgc
137-
*.pgd
138-
*.rsp
139-
*.sbr
140-
*.tlb
141-
*.tli
142-
*.tlh
143-
*.tmp
144-
*.tmp_proj
145-
*_wpftmp.csproj
146-
*.log
147-
*.vspscc
148-
*.vssscc
149-
.builds
150-
*.pidb
151-
*.svclog
152-
*.scc
127+
ldk/csharp/**/*_i.c
128+
ldk/csharp/**/*_p.c
129+
ldk/csharp/**/*_h.h
130+
ldk/csharp/**/*.ilk
131+
ldk/csharp/**/*.meta
132+
ldk/csharp/**/*.obj
133+
ldk/csharp/**/*.iobj
134+
ldk/csharp/**/*.pch
135+
ldk/csharp/**/*.pdb
136+
ldk/csharp/**/*.ipdb
137+
ldk/csharp/**/*.pgc
138+
ldk/csharp/**/*.pgd
139+
ldk/csharp/**/*.rsp
140+
ldk/csharp/**/*.sbr
141+
ldk/csharp/**/*.tlb
142+
ldk/csharp/**/*.tli
143+
ldk/csharp/**/*.tlh
144+
ldk/csharp/**/*.tmp
145+
ldk/csharp/**/*.tmp_proj
146+
ldk/csharp/**/*_wpftmp.csproj
147+
ldk/csharp/**/*.log
148+
ldk/csharp/**/*.vspscc
149+
ldk/csharp/**/*.vssscc
150+
ldk/csharp/**/.builds
151+
ldk/csharp/**/*.pidb
152+
ldk/csharp/**/*.svclog
153+
ldk/csharp/**/*.scc

0 commit comments

Comments
 (0)