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

Commit 24d6c81

Browse files
authored
Merge pull request #122 from mocks-server/release
Release v3.1.0
2 parents e4f3473 + 6b8a04f commit 24d6c81

14 files changed

+2347
-1803
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: ["12.19.0", "14.15.0", "15.2.0"]
14+
node: ["12.22.1", "14.17.0", "15.14.0", "16.1.0"]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2
@@ -20,7 +20,7 @@ jobs:
2020
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
2121
id: extract-branch
2222
- name: Use Node.js
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v2
2424
with:
2525
node-version: ${{ matrix.node }}
2626
- name: Cache node modules
@@ -53,10 +53,12 @@ jobs:
5353
steps:
5454
- name: Checkout
5555
uses: actions/checkout@v2
56+
with:
57+
fetch-depth: 0
5658
- name: Download test results
5759
uses: actions/download-artifact@v2
5860
with:
59-
name: coverage-15.2.0
61+
name: coverage-16.1.0
6062
path: coverage
6163
- name: Coveralls
6264
uses: coverallsapp/github-action@master

.github/workflows/check-package-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/checkout@v2
1212
- name: Get NPM version is new
1313
id: check
14-
uses: EndBug/version-check@v1.6.0
14+
uses: EndBug/version-check@v2.0.1
1515
with:
1616
diff-search: true
1717
file-name: ./package.json

.github/workflows/publish-to-github.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
- uses: actions/checkout@v2
1010
- run: npm ci
1111
- run: npm run build
12-
- uses: actions/setup-node@v1
12+
- uses: actions/setup-node@v2
1313
with:
14-
node-version: '12.x'
14+
node-version: '14.x'
1515
registry-url: 'https://npm.pkg.github.com'
1616
# Defaults to the user or organization that owns the workflow file
1717
scope: '@mocks-server'

.github/workflows/publish-to-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- uses: actions/setup-node@v1
10+
- uses: actions/setup-node@v2
1111
with:
12-
node-version: '12.x'
12+
node-version: '14.x'
1313
registry-url: 'https://registry.npmjs.org/'
1414
- run: npm ci
1515
- run: npm run build

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run lint-staged

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111
### Removed
1212
### Breaking change
1313

14+
## [3.1.0] - 2021-05-24
15+
16+
### Added
17+
- feat: Add node v16.x to engines
18+
19+
### Changed
20+
- Update dependencies
21+
1422
## [3.0.0] - 2021-02-17
1523

1624
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Please read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of
108108
[npm-downloads-url]: https://www.npmjs.com/package/@mocks-server/admin-api-client
109109
[npm-dependencies-image]: https://img.shields.io/david/mocks-server/admin-api-client.svg
110110
[npm-dependencies-url]: https://david-dm.org/mocks-server/admin-api-client
111-
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server-admin-api-client&metric=alert_status
112-
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server-admin-api-client
111+
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server_admin-api-client&metric=alert_status
112+
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server_admin-api-client
113113
[release-image]: https://img.shields.io/github/release-date/mocks-server/admin-api-client.svg
114114
[release-url]: https://github.com/mocks-server/admin-api-client/releases

0 commit comments

Comments
 (0)