File tree Expand file tree Collapse file tree 6 files changed +44
-61
lines changed Expand file tree Collapse file tree 6 files changed +44
-61
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : " tagged- release"
1
+ name : " release"
2
2
3
3
on :
4
4
push :
5
5
tags :
6
6
- " v*"
7
7
8
8
jobs :
9
- tagged- release :
10
- name : " Tagged Release"
9
+ release :
10
+ name : " Release"
11
11
runs-on : " ubuntu-latest"
12
12
13
13
steps :
14
14
- name : git-checkout
15
15
uses : actions/checkout@v2
16
16
17
- - name : Install all dependencies
18
- run : npm install
17
+ - name : npm ci
18
+ run : npm ci
19
19
20
- - name : Test
20
+ - name : npm test
21
21
run : npm test
22
22
23
- - uses : " marvinpinto/action-automatic-releases@latest"
23
+ - name : Automatic release
24
+ uses : " marvinpinto/action-automatic-releases@latest"
24
25
with :
25
26
repo_token : " ${{ secrets.PAT_TOKEN }}"
26
27
prerelease : false
28
+
29
+ - name : Generate documentation
30
+ run : npm run generate-docs
31
+
32
+ - name : Push documentation
33
+ uses : s0/git-publish-subdir-action@develop
34
+ env :
35
+ REPO : self
36
+ BRANCH : gh-pages
37
+ FOLDER : docs
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+
40
+ - name : Publish to npm
41
+ uses : JS-DevTools/npm-publish@v1
42
+ with :
43
+ token : ${{ secrets.NPM_TOKEN }}
44
+ access : public
Original file line number Diff line number Diff line change
1
+ name : " test"
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ test :
7
+ name : " Unit tests"
8
+ runs-on : " ubuntu-latest"
9
+
10
+ steps :
11
+ - name : git-checkout
12
+ uses : actions/checkout@v2
13
+
14
+ - name : npm ci
15
+ run : npm ci
16
+
17
+ - name : npm test
18
+ run : npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # bbcode-parser [ ![ Build Status ] ( https://travis-ci.com/thoughtsunificator/bbcode-parser.svg?branch=master )] ( https://travis-ci.com/thoughtsunificator/bbcode-parser )
1
+ # bbcode-parser
2
2
3
3
bbcode-parser is a JavaScript implementation of the lightweight markup language [ BBCode] ( https://en.wikipedia.org/wiki/BBCode ) .
4
4
You can’t perform that action at this time.
0 commit comments