Update screenshots #95
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: Update screenshots | |
on: | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [20.x] | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: npm ci | |
- run: npx playwright install chromium firefox --with-deps | |
- run: npx nx run-many --target=build | |
- run: npx nx run elements:test:integration:update | |
- name: Commit | |
run: | | |
git config --global user.name 'Stryker Mutator NPA' | |
git config --global user.email 'stryker-mutator@users.noreply.github.com' | |
git pull | |
git add . | |
git commit -m "test(screenshots): update screenshots for ${{ runner.os }}" | |
git push |