Skip to content

Commit

Permalink
Merge branch 'master' into palette-system-update-action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon committed Jan 19, 2025
2 parents dee1265 + 66da7ca commit 92b1c93
Show file tree
Hide file tree
Showing 4 changed files with 1,935 additions and 3,124 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ jobs:

- name: Publish WebExtension
run: npm run sign-webextension
continue-on-error: true
env:
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}
WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}
WEB_EXT_APPROVAL_TIMEOUT: 0
WEB_EXT_CHANNEL: listed
chrome:
name: Chrome
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions dev/update-palette-system-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ try {

await page.waitForSelector(':root:not(:has([data-rh]))');

await Promise.all(
page.frames().map(async (frame) => {
const privacyAgreeButton = await frame.$('.cmp__dialog-footer button.cmp-components-button.white-space-normal.is-primary');
privacyAgreeButton?.click();
})
);
await page.waitForSelector(':root:not(:has(#cmp-app-container iframe))');

const allData = {};

for (let i = 0; i < 12; i++) {
Expand Down
Loading

0 comments on commit 92b1c93

Please sign in to comment.