Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
95a20df58b | |||
0452c5fcf0 |
@ -2,10 +2,12 @@
|
|||||||
name: Build and publish
|
name: Build and publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
- workflow_dispatch
|
workflow_dispatch:
|
||||||
# push:
|
inputs:
|
||||||
# branches:
|
version:
|
||||||
# - master
|
type: string
|
||||||
|
description: Semver to publish
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-publish:
|
build-and-publish:
|
||||||
@ -33,4 +35,6 @@ jobs:
|
|||||||
run: npm run tsc
|
run: npm run tsc
|
||||||
|
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
run: npm publish
|
run: |
|
||||||
|
npm version ${{ inputs.version }} --allow-same-version --git-tag-version false
|
||||||
|
npm publish
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@doc-utils/docs2website",
|
"name": "@doc-utils/docs2website",
|
||||||
"version": "0.1.12",
|
"version": "0.2.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@doc-utils/docs2website",
|
"name": "@doc-utils/docs2website",
|
||||||
"version": "0.1.12",
|
"version": "0.2.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@doc-utils/color-themes": "^0.2.0",
|
"@doc-utils/color-themes": "^0.2.0",
|
||||||
"@doc-utils/jsonschema2markdown": "^0.1.1",
|
"@doc-utils/jsonschema2markdown": "^0.1.1",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@doc-utils/docs2website",
|
"name": "@doc-utils/docs2website",
|
||||||
"version": "0.1.12",
|
"version": "0.2.1",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/"
|
"registry": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user