-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from hirosystems/master
master to develop
- Loading branch information
Showing
7 changed files
with
94 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,3 +101,40 @@ jobs: | |
- name: Teardown integration environment | ||
run: npm run testenv:stop | ||
if: always() | ||
|
||
build-publish: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- lint | ||
- test | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }} | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
|
||
- name: Install deps | ||
run: npm ci --audit=false | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v4 | ||
# Only run on non-PR events or only PRs that aren't from forks | ||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
SEMANTIC_RELEASE_PACKAGE: ${{ github.event.repository.name }} | ||
with: | ||
semantic_version: 19 | ||
extra_plugins: | | ||
@semantic-release/[email protected] | ||
@semantic-release/[email protected] | ||
[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"branches": [ | ||
"master" | ||
], | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"preset": "conventionalcommits" | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"preset": "conventionalcommits" | ||
} | ||
], | ||
"@semantic-release/npm", | ||
"@semantic-release/github", | ||
"@semantic-release/changelog", | ||
"@semantic-release/git" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## [1.2.2](https://github.com/hirosystems/api-toolkit/compare/v1.2.1...v1.2.2) (2023-10-27) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* do not include tests in build output ([caca64b](https://github.com/hirosystems/api-toolkit/commit/caca64be639741b489c2447d7609b4d91539a494)) | ||
|
||
## [1.2.1](https://github.com/hirosystems/api-toolkit/compare/v1.2.0...v1.2.1) (2023-10-27) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* build lib before publishing to npm ([#14](https://github.com/hirosystems/api-toolkit/issues/14)) ([a7d918f](https://github.com/hirosystems/api-toolkit/commit/a7d918f5b2a9a4f9ca36b83bfd7b82ac4504a670)) | ||
|
||
## [1.2.0](https://github.com/hirosystems/api-toolkit/compare/v1.1.0...v1.2.0) (2023-10-26) | ||
|
||
|
||
### Features | ||
|
||
* add fastify helpers ([#9](https://github.com/hirosystems/api-toolkit/issues/9)) ([f923ce4](https://github.com/hirosystems/api-toolkit/commit/f923ce4a741665ef0ece8339694d03e2dae54338)) | ||
* expand tools with Stacks API helpers ([#10](https://github.com/hirosystems/api-toolkit/issues/10)) ([79a08a4](https://github.com/hirosystems/api-toolkit/commit/79a08a4417b65981878d31b7f13a5dfacf591e15)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"exclude": [ | ||
"./src/**/__tests__/**" | ||
] | ||
} |