Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK Workflows Update #361

Merged
merged 122 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
c21f663
Bump up sdk to v1.2.0-rc.0 (#298)
bonnie57 Oct 22, 2024
7c7abe1
Merge branch 'dev' of https://github.com/storyprotocol/sdk into dev
bpolania Oct 31, 2024
4136096
Merge branch 'dev' of https://github.com/storyprotocol/sdk into dev
bpolania Nov 4, 2024
9f91cc0
Updated Workflows
bpolania Dec 4, 2024
18cad49
Update Variables for Testing
bpolania Dec 4, 2024
438f609
Merge branch 'dev' of https://github.com/storyprotocol/sdk into dev
bpolania Dec 4, 2024
41a4b9f
Merge branch 'dev' into origin/dev-bpolania/workflows
bpolania Dec 4, 2024
58311b1
Updates variables for testing
bpolania Dec 4, 2024
62652e7
Create test_file.txt
bpolania Dec 4, 2024
9b1dc40
Typo correction
bpolania Dec 4, 2024
2ae83ca
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 4, 2024
794c09a
Debugging
bpolania Dec 5, 2024
2e2eaff
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
b8fbddd
Update pr-merge.yaml
bpolania Dec 5, 2024
fe2da63
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
190f3d7
Update test_file.txt
bpolania Dec 5, 2024
9750d1a
Update test_file.txt
bpolania Dec 5, 2024
d415264
Update package.json
bpolania Dec 5, 2024
c3f2b24
updated turbo.json
bpolania Dec 5, 2024
32daea8
Update test_file.txt
bpolania Dec 5, 2024
a27302a
Debug complete
bpolania Dec 5, 2024
3d8983f
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
8ac0bd6
Update test_file.txt
bpolania Dec 5, 2024
1aca0e5
Update pr-internal.yml
bpolania Dec 5, 2024
32b3ce0
Update pr-internal.yml
bpolania Dec 5, 2024
5cd7053
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
ade3d41
Update pr-internal.yml
bpolania Dec 5, 2024
10db1e8
Update test_file.txt
bpolania Dec 5, 2024
6d18db6
Update test_file.txt
bpolania Dec 5, 2024
772b9cc
Update test_file.txt
bpolania Dec 5, 2024
886c0ac
Update pr-internal.yml
bpolania Dec 5, 2024
dad8b8c
Update test_file.txt
bpolania Dec 5, 2024
9ab0317
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
7155570
Update pr-internal.yml
bpolania Dec 5, 2024
88a656c
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
8f5c0bf
Update pr-internal.yml
bpolania Dec 5, 2024
a17940b
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
ecbe83c
Update test_file.txt
bpolania Dec 5, 2024
d68e370
Update pr-internal.yml
bpolania Dec 5, 2024
262a725
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
058da89
Update pr-internal.yml
bpolania Dec 5, 2024
5b6335e
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
407c285
Update pr-internal.yml
bpolania Dec 5, 2024
87e1bc3
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
7976a80
Origin/dev polania/workflows test (#337)
bpolania Dec 5, 2024
9fc71ea
Update pr-merge.yaml
bpolania Dec 5, 2024
b4ba9fc
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 5, 2024
f9b0564
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 5, 2024
d943f1f
Merge pull request #338 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 5, 2024
fde5728
debug commit
bpolania Dec 5, 2024
02d37a6
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 5, 2024
3f2163a
Update test_file.txt
bpolania Dec 5, 2024
70849fb
Merge pull request #340 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 5, 2024
5d460e4
Update pr-merge.yaml
bpolania Dec 5, 2024
459bde9
Update test_file.txt
bpolania Dec 5, 2024
25cb00f
Merge pull request #341 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 5, 2024
967622d
Update pr-merge.yaml
bpolania Dec 5, 2024
74b4956
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 5, 2024
e21cbb2
Update test_file.txt
bpolania Dec 5, 2024
370debe
Merge pull request #342 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 5, 2024
34ca930
Update turbo.json
bpolania Dec 5, 2024
c9f59d5
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 5, 2024
993bc16
Update test_file.txt
bpolania Dec 5, 2024
cecee35
Merge pull request #343 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 5, 2024
04c3298
Turbo updates for test integrations
bpolania Dec 5, 2024
79972b3
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 5, 2024
b4238fe
Update test_file.txt
bpolania Dec 5, 2024
51abdb4
Merge pull request #344 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 5, 2024
2588d34
update
bpolania Dec 6, 2024
c73a460
Merge branch 'origin/dev-polania/workflows-test' into origin/dev-bpol…
bpolania Dec 6, 2024
adff404
Update test_file.txt
bpolania Dec 6, 2024
8bdcfc7
Merge pull request #345 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 6, 2024
b08a598
Update pr-merge.yaml
bpolania Dec 6, 2024
01bd1cd
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 6, 2024
bf15248
Update test_file.txt
bpolania Dec 6, 2024
6fa6a97
Merge pull request #346 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 6, 2024
7f3c04c
Update dispute.test.ts
bpolania Dec 6, 2024
787434d
Update test_file.txt
bpolania Dec 6, 2024
ef883b6
Debug
bpolania Dec 6, 2024
4f78d2f
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 6, 2024
b94811e
Update test_file.txt
bpolania Dec 6, 2024
b107302
Update pr-merge.yaml
bpolania Dec 6, 2024
87f7676
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 6, 2024
6f8f23e
Update test_file.txt
bpolania Dec 6, 2024
897f76d
Merge pull request #351 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 6, 2024
eeeb1b1
Update pr-merge.yaml
bpolania Dec 6, 2024
ad40644
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 6, 2024
0dc7a23
Update test_file.txt
bpolania Dec 6, 2024
c2bd92f
Merge pull request #352 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 6, 2024
c0ee5de
Update pr-merge.yaml
bpolania Dec 6, 2024
2212689
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 6, 2024
6591443
Update test_file.txt
bpolania Dec 6, 2024
3fc6b67
Merge pull request #353 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 6, 2024
1187502
TEST_WALLET_ADDRESS added
bpolania Dec 10, 2024
cb958c2
Update test_file.txt
bpolania Dec 10, 2024
1933d35
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 10, 2024
2f32dae
Update test_file.txt
bpolania Dec 10, 2024
6b0fdd8
Merge pull request #357 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 10, 2024
2060889
Debugging
bpolania Dec 10, 2024
9f06d7e
Update test_file.txt
bpolania Dec 10, 2024
ebfbeb8
Merge pull request #358 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 10, 2024
b8f265a
Pre-PR commit
bpolania Dec 10, 2024
75c8eb7
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 10, 2024
0e55860
Update pr-internal.yml
bpolania Dec 10, 2024
bb7244e
Update test_file.txt
bpolania Dec 10, 2024
6ee9c2e
Delete pr-merge.yaml
bpolania Dec 10, 2024
1338c9d
Merge branch 'origin/dev-bpolania/workflows' into origin/dev-polania/…
bpolania Dec 10, 2024
d29c642
Update test_file.txt
bpolania Dec 10, 2024
dc56e1f
Update test_file.txt
bpolania Dec 10, 2024
8985f68
Merge pull request #359 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 10, 2024
995d20d
Update pr-internal.yml
bpolania Dec 10, 2024
f929cd1
Update test_file.txt
bpolania Dec 10, 2024
896cdc3
Merge pull request #360 from storyprotocol/origin/dev-polania/workflo…
bpolania Dec 10, 2024
753ca6e
pre-PR commit
bpolania Dec 10, 2024
752764a
Merge branch 'origin/dev-bpolania/workflows' of https://github.com/st…
bpolania Dec 10, 2024
db80b16
Merge branch 'dev' of https://github.com/storyprotocol/sdk into dev
bpolania Dec 10, 2024
d759c99
Merge branch 'dev' into origin/dev-bpolania/workflows
bpolania Dec 10, 2024
52ee271
Update dispute.test.ts
bpolania Dec 10, 2024
f116aa0
Update royalty.test.ts
bpolania Dec 10, 2024
f760276
Update package.json
bpolania Dec 10, 2024
92b162e
Update pr-internal.yml
bpolania Dec 11, 2024
5da3cf9
Update package.json
bpolania Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pr-external.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Workflow for External PRs
name: Workflow for External PRs with Unit Tests

on:
pull_request_target:
Expand All @@ -21,10 +21,10 @@ jobs:
Timestamp_PR_APPROVED:
needs: [authorize]
uses: storyprotocol/gha-workflows/.github/workflows/reusable-timestamp.yml@main

build_and_test:
needs: [authorize, Timestamp_PR_APPROVED]
uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-test-workflow.yml@main
uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-unit-test-workflow.yml@main
with:
sha: ${{ github.event.pull_request.head.sha }}
ENVIRONMENT: "beta-sepolia"
Expand Down
23 changes: 16 additions & 7 deletions .github/workflows/pr-internal.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
name: Workflow for internal PRs
name: Conditional Workflow

on:
push:
pull_request:
branches:
- main
- dev

pull_request:
push:
branches:
- main
- dev

jobs:
Timestamp:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
uses: storyprotocol/gha-workflows/.github/workflows/reusable-timestamp.yml@main

build_and_test:
pr_build_and_test:
if: github.event_name == 'pull_request'
needs: [Timestamp]
uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-test-workflow.yml@main
uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-unit-test-workflow.yml@main
with:
sha: ${{ github.event.pull_request.head.sha }}
ENVIRONMENT: "beta-sepolia"
secrets:
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }}

push_build_and_test:
if: github.event_name == 'push'
uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-integration-test-workflow.yml@main
with:
sha: ${{ github.sha }}
ENVIRONMENT: "beta-sepolia"
secrets:
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"lint": "turbo run lint",
"fix": "turbo run fix",
"test": "turbo run test --no-cache --concurrency=1",
"test:integration": "turbo run test:integration --no-cache",
"prepare": "husky install"
},
"devDependencies": {
Expand Down
Loading
Loading