Skip to content

Commit

Permalink
align this PR with infra PR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tguntenaar committed Jul 10, 2024
1 parent 5bfdd3f commit a620594
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 80 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/continuous-integration-workflow-events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,6 @@ jobs:
- name: Run code formatting check
run: npm run fmt:check

playwright-tests-proposal:
name: Proposal - Playwright tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: |
npm ci
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mpeterdev/bos-loader/releases/download/v0.7.1/bos-loader-v0.7.1-installer.sh | sh
npx playwright install-deps
npx playwright install
- name: Run tests
run: |
npx playwright test --project=events playwright-tests/tests/proposal
playwright-tests-events:
name: Events Committee - Playwright tests
runs-on: ubuntu-latest
Expand All @@ -55,4 +37,4 @@ jobs:
npx playwright install
- name: Run tests
run: |
npx playwright test --project=events playwright-tests/tests/events-committee
INSTANCE=events npx playwright test --project=events playwright-tests/tests/events-committee
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
npx playwright install
- name: Run tests
run: |
npx playwright test playwright-tests/tests/blog
INSTANCE=devhub npx playwright test playwright-tests/tests/blog
playwright-tests-community:
name: Community - Playwright tests
runs-on: ubuntu-latest
Expand All @@ -52,7 +52,7 @@ jobs:
npx playwright install
- name: Run tests
run: |
npx playwright test playwright-tests/tests/community
INSTANCE=devhub npx playwright test playwright-tests/tests/community
playwright-tests-other:
name: Other - Playwright tests
runs-on: ubuntu-latest
Expand All @@ -70,7 +70,7 @@ jobs:
npx playwright install
- name: Run tests
run: |
npx playwright test playwright-tests/tests/other
INSTANCE=devhub npx playwright test playwright-tests/tests/other
playwright-tests-proposal:
name: Proposal - Playwright tests
runs-on: ubuntu-latest
Expand All @@ -88,7 +88,7 @@ jobs:
npx playwright install
- name: Run tests
run: |
npx playwright test playwright-tests/tests/proposal
INSTANCE=devhub npx playwright test playwright-tests/tests/proposal
playwright-tests-sunset:
name: Sunset - Playwright tests
runs-on: ubuntu-latest
Expand All @@ -106,4 +106,4 @@ jobs:
npx playwright install
- name: Run tests
run: |
npx playwright test playwright-tests/tests/sunset
INSTANCE=devhub npx playwright test playwright-tests/tests/sunset
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Widgets to Mainnet
name: Deploy Widgets to Mainnet - Devhub
on:
pull_request:
push:
Expand Down
2 changes: 1 addition & 1 deletion instances/events-committee.near/aliases.mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"REPL_DEVS": "devs.near",
"REPL_SOCIAL_CONTRACT": "social.near",
"REPL_RPC_URL": "https://rpc.mainnet.near.org"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"url": "https://github.com/near/neardevhub-widgets/issues"
},
"homepage": "https://github.com/near/neardevhub-widgets#readme"
}
}
Original file line number Diff line number Diff line change
@@ -1,56 +1,59 @@
{
"cookies": [],
"origins": [{
"origin": "http://localhost:8080",
"localStorage": [{
"name": "near-wallet-selector:selectedWalletId",
"value": "\"my-near-wallet\""
},
{
"name": "near_app_wallet_auth_key",
"value": "{\"accountId\":\"petersalomonsen.near\",\"allKeys\":[\"ed25519:CziSGowWUKiP5N5pqGUgXCJXtqpySAk29YAU6zEs5RAi\"]}"
},
{
"name": "devgovgigs.near_wallet_auth_key",
"value": "{\"accountId\":\"petersalomonsen.near\",\"allKeys\":[\"ed25519:CziSGowWUKiP5N5pqGUgXCJXtqpySAk29YAU6zEs5RAi\"]}"
},
{
"name": "devhub.near_wallet_auth_key",
"value": "{\"accountId\":\"petersalomonsen.near\",\"allKeys\":[\"ed25519:CziSGowWUKiP5N5pqGUgXCJXtqpySAk29YAU6zEs5RAi\"]}"
},
{
"name": "near-api-js:keystore:petersalomonsen.near:mainnet",
"value": "ed25519:67p9ygtfVNZz5AzMkeN4bqstCck8RWxWDthcTa7JaBvxkrBRTc6A43SsuPy9LdtiR6XtSRD1HiS4KQTWCZw83FKS"
},
{
"name": "events-committee.near_wallet_auth_key",
"value": "{\"accountId\":\"petersalomonsen.near\",\"allKeys\":[\"ed25519:CziSGowWUKiP5N5pqGUgXCJXtqpySAk29YAU6zEs5RAi\"]}"
},
{
"name": "devgovgigs.near:keystore:petersalomonsen.near:mainnet",
"value": "ed25519:4SViyksDtdDdCPkkyzMg4HYADEQ3t5YGEd3EBoSADxdaAzDasZ7qJbxr2wNSFkWipya6C2eVJJucK1vkyoGndiyt"
},
{
"name": "devhub.near:keystore:petersalomonsen.near:mainnet",
"value": "ed25519:eUVkG7dVfg5Z776MPy7d4L23cmEtAxrYoP1HgWSQrBy1GHdaZystRkYyz4ANN5uyKceuUrjyoLWaPgpzvo3BNDZ"
},
{
"name": "events-committee.near:keystore:petersalomonsen.near:mainnet",
"value": "ed25519:2ALEv3XWjQT7osbBWTDZ49dAhq4tcnkY7PimfFAAiv6vb1BSaKT148XM8dsytmtbXJu1dfj595P5CnhFAtVZ5npM"
},
{
"name": "near-social-vm:v01::accountId:",
"value": "\"petersalomonsen.near\""
},
{
"name": "near-wallet-selector:recentlySignedInWallets",
"value": "[\"my-near-wallet\"]"
},
{
"name": "near-wallet-selector:contract",
"value": "{\"contractId\":\"social.near\",\"methodNames\":[]}"
}
]
}],
"origins": [
{
"origin": "http://localhost:8080",
"localStorage": [
{
"name": "near-wallet-selector:selectedWalletId",
"value": "\"my-near-wallet\""
},
{
"name": "near_app_wallet_auth_key",
"value": "{\"accountId\":\"petersalomonsen.near\",\"allKeys\":[\"ed25519:CziSGowWUKiP5N5pqGUgXCJXtqpySAk29YAU6zEs5RAi\"]}"
},
{
"name": "devgovgigs.near_wallet_auth_key",
"value": "{\"accountId\":\"petersalomonsen.near\",\"allKeys\":[\"ed25519:CziSGowWUKiP5N5pqGUgXCJXtqpySAk29YAU6zEs5RAi\"]}"
},
{
"name": "devhub.near_wallet_auth_key",
"value": "{\"accountId\":\"petersalomonsen.near\",\"allKeys\":[\"ed25519:CziSGowWUKiP5N5pqGUgXCJXtqpySAk29YAU6zEs5RAi\"]}"
},
{
"name": "near-api-js:keystore:petersalomonsen.near:mainnet",
"value": "ed25519:67p9ygtfVNZz5AzMkeN4bqstCck8RWxWDthcTa7JaBvxkrBRTc6A43SsuPy9LdtiR6XtSRD1HiS4KQTWCZw83FKS"
},
{
"name": "events-committee.near_wallet_auth_key",
"value": "{\"accountId\":\"petersalomonsen.near\",\"allKeys\":[\"ed25519:CziSGowWUKiP5N5pqGUgXCJXtqpySAk29YAU6zEs5RAi\"]}"
},
{
"name": "devgovgigs.near:keystore:petersalomonsen.near:mainnet",
"value": "ed25519:4SViyksDtdDdCPkkyzMg4HYADEQ3t5YGEd3EBoSADxdaAzDasZ7qJbxr2wNSFkWipya6C2eVJJucK1vkyoGndiyt"
},
{
"name": "devhub.near:keystore:petersalomonsen.near:mainnet",
"value": "ed25519:eUVkG7dVfg5Z776MPy7d4L23cmEtAxrYoP1HgWSQrBy1GHdaZystRkYyz4ANN5uyKceuUrjyoLWaPgpzvo3BNDZ"
},
{
"name": "events-committee.near:keystore:petersalomonsen.near:mainnet",
"value": "ed25519:2ALEv3XWjQT7osbBWTDZ49dAhq4tcnkY7PimfFAAiv6vb1BSaKT148XM8dsytmtbXJu1dfj595P5CnhFAtVZ5npM"
},
{
"name": "near-social-vm:v01::accountId:",
"value": "\"petersalomonsen.near\""
},
{
"name": "near-wallet-selector:recentlySignedInWallets",
"value": "[\"my-near-wallet\"]"
},
{
"name": "near-wallet-selector:contract",
"value": "{\"contractId\":\"social.near\",\"methodNames\":[]}"
}
]
}
],
"sessionStorage": []
}
}

0 comments on commit a620594

Please sign in to comment.