Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
chore(package.json): bump version of deps (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk authored Dec 6, 2020
1 parent ca25a28 commit fbb3ceb
Show file tree
Hide file tree
Showing 4 changed files with 5,497 additions and 4,047 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,35 @@ on:
push:
tags:
- 'v*'
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}

- uses: actions/setup-node@v1
with:
node-version: 12
- run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
- run: npm version $RELEASE_VERSION --git-tag-version false

- run: echo "VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV

- run: npm ci
- run: npm run build

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- uses: actions/setup-node@v1
with:
registry-url: 'https://npm.pkg.github.com'
scope: '@NeuraLegion'

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ Tool for generation samples based on OpenAPI payload/response schema

Install using [npm](https://docs.npmjs.com/getting-started/what-is-npm)

npm install openapi-sampler --save
npm install @neuralegion/openapi-sampler --save

or using [yarn](https://yarnpkg.com)

yarn add openapi-sampler
yarn add @neuralegion/openapi-sampler

Then require it in your code:

```js
var OpenAPISampler = require('openapi-sampler');
var OpenAPISampler = require('@neuralegion/openapi-sampler');
```

## Usage
Expand Down
Loading

0 comments on commit fbb3ceb

Please sign in to comment.