Skip to content

chore(deps): update dependency solid-js to ^1.8.13 #8069

chore(deps): update dependency solid-js to ^1.8.13

chore(deps): update dependency solid-js to ^1.8.13 #8069

Workflow file for this run

name: Test Preview.js end-to-end
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
paths:
- "**"
- ".github/workflows/test-app-e2e.yaml"
- "!assets/**"
- "!integrations/**"
pull_request:
branches:
- "*"
paths:
- "**"
- ".github/workflows/test-app-e2e.yaml"
- "!assets/**"
- "!integrations/**"
jobs:
e2e-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x]
os: [ubuntu-22.04, macos-11, windows-2022]
group: [1, 2, 3]
include:
- node-version: 20.x
os: ubuntu-22.04
group: 1
- node-version: 20.x
os: ubuntu-22.04
group: 2
- node-version: 20.x
os: ubuntu-22.04
group: 3
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache pnpm modules
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-full-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-full-
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
with:
run_install: true
- run: cd testing && pnpm exec playwright install
- run: pnpm turbo build
- run: pnpm turbo e2e-test --concurrency=1 -- --shard=${{ matrix.group }}/3 --workers=2
env:
PREVIEWJS_LOG_LEVEL: "debug"
- name: Update screenshots on non-main branches
run: |
git add .
if [[ $(git status --short) ]]; then
git status
echo "::set-env name=SCREENSHOTS_CHANGED::1"
git stash
git config user.name 'CI bot'
git config user.email '[email protected]'
git fetch
git checkout ${{ github.head_ref }}
git pull
git stash pop || echo "Conflict on git stash pop."
git commit --allow-empty -am "bot: update screenshots ($MATRIX_OS, group $MATRIX_GROUP)"
if ! git push origin ${{ github.head_ref }}; then
# Try again as it may be a race condition.
git pull --rebase
git push origin ${{ github.head_ref }}
fi
else
echo "No changes detected."
fi
if: ${{ github.ref != 'refs/heads/main' && matrix.node-version == '18.x' && matrix.os == 'ubuntu-22.04' }}
shell: bash
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
MATRIX_OS: ${{ matrix.os }}
MATRIX_GROUP: ${{ matrix.group }}
- name: Fail if screenshots have changed on main branch
run: git diff --exit-code
if: ${{ github.ref == 'refs/heads/main' && matrix.node-version == '18.x' && matrix.os == 'ubuntu-22.04' }}