Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 28
Base64 fix and test cases refactor to use real browser#116
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
82a556bcca89cfaadd31252c7112efabbab0d6204613433330ddb8bb774bedfFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| name: CI | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| build-and-test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Use Node.js 20.x | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20.x | ||
| - name: Build SDK | ||
| run: | | ||
| npm install | ||
| npm run build | ||
| - name: Install test-app dependencies | ||
| run: npm install | ||
| working-directory: test-app | ||
| - name: Install Playwright browsers | ||
| run: npx playwright install --with-deps chromium | ||
| working-directory: test-app | ||
| - name: Run Playwright tests | ||
| run: npx playwright test | ||
| working-directory: test-app | ||
| env: | ||
| CI: true |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: release-please | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| jobs: | ||
| release-please: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: googleapis/release-please-action@v4 | ||
| with: | ||
| config-file: release-please-config.json | ||
| manifest-file: .release-please-manifest.json |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| name: Sync Release-As from release PR title | ||
| on: | ||
| pull_request: | ||
| types: [edited] | ||
| permissions: | ||
| contents: write | ||
| jobs: | ||
| sync: | ||
| if: >- | ||
| github.event.pull_request.base.ref == 'master' && | ||
| startsWith(github.event.pull_request.head.ref, 'release-please--') && | ||
| github.event.changes.title != null | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Extract versions from old and new title | ||
| id: parse | ||
| env: | ||
| NEW_TITLE: ${{ github.event.pull_request.title }} | ||
| OLD_TITLE: ${{ github.event.changes.title.from }} | ||
| run: | | ||
| # Anchored on pull-request-title-pattern "release: ${version}" from release-please-config.json. | ||
| extract() { | ||
| echo "$1" | grep -oE '^release:[[:space:]]+v?[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?' \ | ||
| | sed -E 's/^release:[[:space:]]+v?//' | ||
| } | ||
| NEW_VERSION=$(extract "$NEW_TITLE") | ||
| OLD_VERSION=$(extract "$OLD_TITLE") | ||
| echo "old=$OLD_VERSION" | ||
| echo "new=$NEW_VERSION" | ||
| if [ -z "$NEW_VERSION" ]; then | ||
| echo "::notice::No semver in new title; nothing to do." | ||
| echo "skip=true" >> "$GITHUB_OUTPUT" | ||
| exit 0 | ||
| fi | ||
| if [ "$NEW_VERSION" = "$OLD_VERSION" ]; then | ||
| echo "::notice::Version unchanged ($NEW_VERSION); not pushing." | ||
| echo "skip=true" >> "$GITHUB_OUTPUT" | ||
| exit 0 | ||
| fi | ||
| echo "version=$NEW_VERSION" >> "$GITHUB_OUTPUT" | ||
| - name: Check out master | ||
| if: steps.parse.outputs.skip != 'true' | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| ref: master | ||
| token: ${{ secrets.RELEASE_PLEASE_TOKEN }} | ||
| fetch-depth: 1 | ||
| - name: Push empty Release-As commit | ||
| if: steps.parse.outputs.skip != 'true' | ||
| env: | ||
| VERSION: ${{ steps.parse.outputs.version }} | ||
| run: | | ||
| git config user.name "release-as-bot" | ||
| git config user.email "release-as-bot@users.noreply.github.com" | ||
| git commit --allow-empty -m "chore: pin next release | ||
| Release-As: ${VERSION}" | ||
| git push origin master | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| node_modules/* | ||
| samples/sample-app/node_modules/* | ||
| node_modules | ||
| .env | ||
| .vscode | ||
| .DS_Store | ||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| ".": "5.4.0" | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.