Removed warning field from StoreState. #933
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: E2E | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [20] # Work with 18. https://github.com/cypress-io/github-action/issues/534#issuecomment-1115947632 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
sudo -H pip install setuptools | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
node-version: ${{ matrix.node-version }} | |
# Install NPM dependencies, cache them correctly | |
# and run all Cypress tests | |
- name: Cypress run | |
uses: cypress-io/[email protected] | |
with: | |
browser: chrome | |
build: pnpm build:site | |
start: pnpm preview | |
command: pnpm run cy | |
wait-on: http://127.0.0.1:8080 | |
auto-cancel-after-failures: 2 | |
- name: Upload artifacts # Find artifacts under actions/jobs | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: snapshots | |
path: ./cypress/ |