Skip to content

Commit 90c96ef

Browse files
committed
Add baseline
1 parent 0de3889 commit 90c96ef

File tree

4 files changed

+2477
-61
lines changed

4 files changed

+2477
-61
lines changed

.github/workflows/build_test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,16 @@ jobs:
4343
./wpt/wpt manifest
4444
./wpt/wpt serve --inject-script=${{ github.workspace }}/dist/container-query-polyfill.modern.js &
4545
npm test
46+
47+
- name: Open Pull Request
48+
env:
49+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
run: |
51+
node --loader ts-node/esm ./tests/diff.ts
52+
git config user.name github-actions[bot]
53+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
54+
git checkout -b update-wpt-baseline-${{ github.job_id }}
55+
git add ./tests/baseline.json
56+
git commit -m "Update Web Platform Test baseline"
57+
git push -u origin HEAD
58+
gh pr create --title "[Automated] Update Web Platform Tests" --body-file ./tests/pr.txt

0 commit comments

Comments
 (0)