Skip to content

Commit cba0e63

Browse files
github-actions[bot]miguelramos
authored andcommitted
chore(release): version packages
1 parent a8b0b58 commit cba0e63

File tree

4 files changed

+32
-33
lines changed

4 files changed

+32
-33
lines changed

.changeset/afraid-trees-obey.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/publish-gh.yml

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,39 @@
1-
name: Deploy Static Docs
1+
name: GitHub Pages
22

33
on:
44
push:
55
branches:
6-
- master
76
- main
8-
env:
9-
CI: true
7+
pull_request:
108

11-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
129
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 }}
2214
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
2516

26-
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v2
17+
- name: Setup Node
18+
uses: actions/setup-node@v3
2819
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
3033

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
3735
uses: peaceiris/actions-gh-pages@v3
36+
if: ${{ github.ref == 'refs/heads/main' }}
3837
with:
39-
deploy_key: ${{ secrets.GH_TOKEN }}
38+
github_token: ${{ secrets.GH_TOKEN }}
4039
publish_dir: ./docs/.vitepress/dist
41-
commit_message: ${{ github.event.head_commit.message }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @websublime/schema
22

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+
39
## 1.2.0
410

511
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@websublime/schema",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"source": "./src",
55
"main": "./dist/schema.cjs.js",
66
"module": "./dist/schema.esm.js",

0 commit comments

Comments
 (0)