chore(main): release webdriver-bidi-protocol 0.0.2 #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# Declare default permissions as read only. | |
permissions: read-all | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
concurrency: | |
group: ci-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
ci: | |
name: '[Required] Run tests' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 2 | |
- name: Install cddlconv | |
run: cargo install cddlconv@0.1.5 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build and test | |
run: npm test | |
- id: check_changes | |
run: | | |
if [[ -n $(git status --porcelain) ]]; then | |
echo "changes=true" >> "$GITHUB_OUTPUT"; | |
fi | |
- name: Commit and push changes | |
if: contains(github.event.pull_request.labels.*.name, 'commit-updates') && steps.check_changes.outputs.changes == 'true' | |
run: | | |
git config --global user.name 'browser-automation-bot' | |
git config --global user.email '133232582+browser-automation-bot@users.noreply.github.com' | |
git add . --all | |
git commit -m 'chore: commit updated files' --no-verify | |
git push |