-
Notifications
You must be signed in to change notification settings - Fork 22
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
7f33acd
commit c45d077
Showing
4 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
6 changes: 2 additions & 4 deletions
6
.github/workflows/test_web.yml → ...hub/workflows/deploy-dapp-example-web.yml
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
2 changes: 1 addition & 1 deletion
2
.github/workflows/publish-packages.yml → .github/workflows/publish-npm-package.yml
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,4 +1,4 @@ | ||
name: publish-packages | ||
name: publish-npm-packages | ||
|
||
on: workflow_dispatch | ||
|
||
|
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,30 @@ | ||
name: test-example-web-build | ||
|
||
on: | ||
pull_request: | ||
branches: [main,master] | ||
|
||
jobs: | ||
test_build_web: | ||
runs-on: ubuntu-latest | ||
env: | ||
TEST_ENDPOINT: dapp-example.onekeytest.com | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Environment | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
registry-url: 'https://registry.npmjs.org' | ||
cache: 'yarn' | ||
|
||
- name: Install Dependency | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
echo 'skipped yarn install at workspace root' | ||
- name: Build Target | ||
run: | | ||
yarn example-build |
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