Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #125 from mocks-server/release
Browse files Browse the repository at this point in the history
Release v2.1.0
  • Loading branch information
javierbrea authored May 25, 2021
2 parents bb7824b + 63be54e commit 89cf715
Show file tree
Hide file tree
Showing 14 changed files with 777 additions and 455 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["12.19.0", "14.15.0", "15.2.0"]
node: ["14.17.0", "15.14.0", "16.1.0"]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -20,7 +20,7 @@ jobs:
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
id: extract-branch
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Cache node modules
Expand Down Expand Up @@ -56,10 +56,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Download test results
uses: actions/download-artifact@v2
with:
name: coverage-15.2.0
name: coverage-16.1.0
path: coverage
- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish-to-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: '14.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@mocks-server'
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 3 additions & 2 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: '14.x'
registry-url: 'https://registry.npmjs.org/'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint-staged
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sonarlint.connectedMode.project": {
"connectionId": "mocks-server",
"projectKey": "mocks-server_plugin-inquirer-cli"
}
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
### BREAKING CHANGE

## [2.1.0] - 2021-05-24

### Added
- feat: Add node v16.x to engines

### Changed
- Update dependencies

## [2.0.0] - 2021-02-17

### Added
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Please read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of
[npm-downloads-url]: https://www.npmjs.com/package/@mocks-server/plugin-inquirer-cli
[npm-dependencies-image]: https://img.shields.io/david/mocks-server/plugin-inquirer-cli.svg
[npm-dependencies-url]: https://david-dm.org/mocks-server/plugin-inquirer-cli
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server-plugin-inquirer-cli&metric=alert_status
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server-plugin-inquirer-cli
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server_plugin-inquirer-cli&metric=alert_status
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server_plugin-inquirer-cli
[release-image]: https://img.shields.io/github/release-date/mocks-server/plugin-inquirer-cli.svg
[release-url]: https://github.com/mocks-server/plugin-inquirer-cli/releases
Loading

0 comments on commit 89cf715

Please sign in to comment.