File tree Expand file tree Collapse file tree 4 files changed +32
-33
lines changed Expand file tree Collapse file tree 4 files changed +32
-33
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Deploy Static Docs
1
+ name : GitHub Pages
2
2
3
3
on :
4
4
push :
5
5
branches :
6
- - master
7
6
- main
8
- env :
9
- CI : true
7
+ pull_request :
10
8
11
- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
12
9
jobs :
13
- build_test :
14
- # The type of runner that the job will run on
15
- runs-on : ubuntu-latest
16
-
17
- strategy :
18
- matrix :
19
- node-version : [14.x] # We will deploy with only one version of node
20
-
21
- # Steps represent a sequence of tasks that will be executed as part of the job
10
+ deploy :
11
+ runs-on : ubuntu-20.04
12
+ concurrency :
13
+ group : ${{ github.workflow }}-${{ github.ref }}
22
14
steps :
23
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v3
25
16
26
- - name : Use Node.js ${{ matrix.node-version }}
27
- uses : actions/setup-node@v2
17
+ - name : Setup Node
18
+ uses : actions/setup-node@v3
28
19
with :
29
- node-version : ${{ matrix.node-version }}
20
+ node-version : ' 14'
21
+
22
+ - name : Cache dependencies
23
+ uses : actions/cache@v2
24
+ with :
25
+ path : ~/.npm
26
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
27
+ restore-keys : |
28
+ ${{ runner.os }}-node-
29
+
30
+ - run : yarn
31
+ - run : yarn build
32
+ - run : yarn docs:build
30
33
31
- - name : npm ci, build
32
- run : |
33
- yarn
34
- yarn build
35
- yarn docs:build
36
- - name : deploy to gh-pages
34
+ - name : deploy
37
35
uses : peaceiris/actions-gh-pages@v3
36
+ if : ${{ github.ref == 'refs/heads/main' }}
38
37
with :
39
- deploy_key : ${{ secrets.GH_TOKEN }}
38
+ github_token : ${{ secrets.GH_TOKEN }}
40
39
publish_dir : ./docs/.vitepress/dist
41
- commit_message : ${{ github.event.head_commit.message }}
Original file line number Diff line number Diff line change 1
1
# @websublime/schema
2
2
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [ ` a8b0b58 ` ] ( https://github.com/websublime/schema/commit/a8b0b585f709a0977853e09bffec93ec33c8d50b ) Thanks [ @miguelramos ] ( https://github.com/miguelramos ) ! - GH build fix
8
+
3
9
## 1.2.0
4
10
5
11
### Minor Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @websublime/schema" ,
3
- "version" : " 1.2.0 " ,
3
+ "version" : " 1.2.1 " ,
4
4
"source" : " ./src" ,
5
5
"main" : " ./dist/schema.cjs.js" ,
6
6
"module" : " ./dist/schema.esm.js" ,
You can’t perform that action at this time.
0 commit comments