This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use npm dev package for sdk (#295)
Co-authored-by: Raphael Flechtner <flechtner@galaniprojects.de>
- Loading branch information
1 parent
30a13cc
commit a507a94
Showing
9 changed files
with
324 additions
and
225 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,10 @@ | ||
--- | ||
title: fix code after sdk-js upgrade | ||
labels: bug | ||
--- | ||
|
||
_Note: This issue was **automatically created** because the CI pipeline broke after an update in the SDK on {{ date | date('YYYY-MM-D')}}._ | ||
|
||
Please **fix the code inside this repository** for which the CI broke after pushing [{{ env.SHA }}]({{ env.URL }}) on the develop branch of the SDK. | ||
**You do not have to fix something in the SDK!** | ||
This issue just displays a breaking change was made to the SDK. |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Test SDK Update | ||
|
||
on: | ||
repository_dispatch: | ||
types: [sdk-update] | ||
|
||
jobs: | ||
integration_test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: eu-central-1 | ||
|
||
- name: Login to Amazon ECR | ||
id: login-ecr | ||
uses: aws-actions/amazon-ecr-login@v1 | ||
|
||
- name: Use Node.js 10 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10 | ||
|
||
- name: Upgrade sdk to latest dev version | ||
run: yarn upgrade @kiltprotocol/sdk-js@dev | ||
|
||
- name: Test demo-client | ||
run: | | ||
yarn lint | ||
yarn build | ||
- name: Create issue on failure | ||
if: ${{ failure() }} | ||
uses: JasonEtco/create-an-issue@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
title: fix code after sdk-js upgrade | ||
labels: bug | ||
assignees: ${{ github.event.client_payload.github.sender.login }} | ||
SHA: ${{ github.event.client_payload.github.sha }} | ||
URL: https://github.com/KILTprotocol/sdk-js/commit/${{ github.event.client_payload.github.sha }} | ||
with: | ||
filename: .github/sdk-update-issue-template.md |
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 was deleted.
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
Oops, something went wrong.