[Snyk] Upgrade: , , , , , cookie, , , , , , , , , , autoprefixer, tslib, configcat-js-ssr, cssnano, cypress, emoji-regex, google-spreadsheet, hast-util-heading-rank, hastscript, husky, linkinator, lint-staged, mdast-util-to-string, mdsvex, nanoid, node-fetch, octokit, plop, postcss, postcss-import, postcss-load-config, postcss-preset-env, prettier, prettier-plugin-svelte, unist-util-visit, remark-autolink-headings, remark-external-links, remark-slug, sass, svelte, typescript, svelte-check, tailwindcss, validator, vite #31
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: Cypress End-to-end tests 🧪 | |
on: [pull_request] | |
jobs: | |
run-e2e-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v2 | |
- name: Install dependencies 📦 | |
run: npm install | |
- name: Start Development Server 🏗️ | |
uses: cypress-io/github-action@v4 | |
with: | |
start: npm run dev | |
wait-on: 'http://localhost:5173' | |
wait-on-timeout: 200 | |
runTests: false | |
install: false | |
env: | |
PUBLIC_CONFIGCAT_KEY: ${{ secrets.CONFIGCAT_KEY }} | |
- name: Run e2e tests 🧪 | |
uses: cypress-io/github-action@v4 | |
with: | |
# we have already installed all dependencies above | |
install: false | |
command: npm run test:e2e |