-
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.
- Loading branch information
1 parent
5012314
commit 9588af4
Showing
4 changed files
with
101 additions
and
0 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,22 @@ | ||
### Issue/Feature | ||
|
||
### Reproduce | ||
Issue exists on version `2.` of sdk-dapp. | ||
|
||
### Root cause | ||
|
||
### Fix | ||
|
||
### Additional changes | ||
|
||
### Contains breaking changes | ||
[x] No | ||
|
||
[] Yes | ||
|
||
### Updated CHANGELOG | ||
[x] Yes | ||
|
||
### Testing | ||
[x] User testing | ||
[] Unit tests |
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,16 @@ | ||
name: "CHANGELOG entry secretary" | ||
on: | ||
pull_request: | ||
branches: [main, development] | ||
# The specific activity types are listed here to include "labeled" and "unlabeled" | ||
# (which are not included by default for the "pull_request" trigger). | ||
# This is needed to allow skipping enforcement of the changelog in PRs with specific labels, | ||
# as defined in the (optional) "skipLabels" property. | ||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | ||
|
||
jobs: | ||
# Enforces the update of a changelog file on every pull request | ||
changelog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dangoslen/changelog-enforcer@v3 |
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,52 @@ | ||
name: Publish sdk-dapp | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
repository_dispatch: | ||
types: publish-npm | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
publish-npm: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 18 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Setup yarn | ||
run: npm install -g yarn | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Run tests | ||
run: yarn test | ||
|
||
- name: Build project | ||
run: yarn build | ||
|
||
- name: Get package info | ||
id: package | ||
uses: andreigiura/[email protected] | ||
|
||
- name: Publish to npmjs next version | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
if: ${{ steps.package.outputs.is-prerelease == 'true'}} | ||
run: echo ${{ steps.package.outputs.is-prerelease}} && cd dist && npm publish --tag next | ||
|
||
- name: Publish to npmjs | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
if: ${{ steps.package.outputs.is-prerelease == 'false' }} | ||
run: cd dist && npm publish |
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,11 @@ | ||
# Change Log | ||
|
||
All notable changes will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
- [Added network](https://github.com/multiversx/mx-sdk-dapp-core/pull/1) | ||
|
||
## [[v0.0.0]](https://github.com/multiversx/mx-sdk-dapp-core)] - 2024-04-17 |