Skip to content

Commit 4cba8ad

Browse files
author
Phil Sturgeon
committed
chore: added release action
1 parent b3d2c28 commit 4cba8ad

File tree

3 files changed

+28
-5
lines changed

3 files changed

+28
-5
lines changed

.github/workflows/push.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on: push
2+
name: Build and Publish
3+
jobs:
4+
shellLint:
5+
name: Shell Lint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@master
9+
- name: Install
10+
run: npm ci
11+
- name: Test
12+
run: npm test
13+
- name: Publish Filter
14+
uses: actions/bin/filter@master
15+
with:
16+
args: branch master
17+
- name: Publish
18+
uses: mikeal/merge-release@master
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

package-lock.json

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "json-schema-to-openapi-schema",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Converts a JSON Schema to OpenAPI Schema Object",
55
"main": "index.js",
66
"scripts": {
77
"test": "nyc --reporter=html --reporter=text mocha",
88
"coverage": "nyc report --reporter=text-lcov | coveralls"
99
},
10-
"repository": "github:wework/json-schema-to-openapi-schema",
11-
"author": "Phil Sturgeon <[email protected]>",
10+
"repository": "github:openapi-js/json-schema-to-openapi-schema",
11+
"author": "Phil Sturgeon <[email protected]>",
1212
"license": "MIT",
1313
"devDependencies": {
1414
"coveralls": "^3.0.0",

0 commit comments

Comments
 (0)