-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: automatically publish to NPM if tag is created * build: cz config * bump: version 0.0.1a0 → 0.0.1a1
- Loading branch information
1 parent
f14675a
commit 1470388
Showing
5 changed files
with
70 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[tool.commitizen] | ||
name = "cz_conventional_commits" | ||
tag_format = "$version" | ||
version_provider = "npm2" | ||
version = "0.0.1a1" | ||
update_changelog_on_bump = true |
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,31 @@ | ||
name: Node.js Package | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm ci | ||
- run: npm test | ||
- run: npm run build | ||
- name: Check version | ||
run: | | ||
# Extract the tag version from the GITHUB_REF environment variable, removing the 'refs/tags/' prefix | ||
TAG_VERSION=${GITHUB_REF#refs/tags/} | ||
PACKAGE_VERSION=$(node -p "require('./package.json').version") | ||
if [ "$TAG_VERSION" != "$PACKAGE_VERSION" ]; then | ||
echo "Tag version ($TAG_VERSION) does not match package.json version ($PACKAGE_VERSION)" | ||
exit 1 | ||
fi | ||
- run: npm publish --access=public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
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,24 @@ | ||
## 0.0.1a1 (2023-09-27) | ||
|
||
### Feat | ||
|
||
- gate sizing implementation | ||
- add to-emit-event matcher | ||
- add balance matchers | ||
- add balance matchers | ||
- support mina transactions in toFail matchers | ||
- add toFail matcher | ||
- added matchers for signatures | ||
- added commands history to be stored in $HOME directory | ||
- improved user interaction with the REPL to provide better feedback and guidance | ||
- cli feature initial commit. Basic CLI support is provided. | ||
- added test to check boolean type | ||
- initial base commit | ||
|
||
### Fix | ||
|
||
- added missing jest devDependency | ||
|
||
### Refactor | ||
|
||
- improved matchers with more natural patterns and checks |
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