Skip to content

Update dependency @rollup/plugin-node-resolve to v15 - autoclosed #4374

Update dependency @rollup/plugin-node-resolve to v15 - autoclosed

Update dependency @rollup/plugin-node-resolve to v15 - autoclosed #4374

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
branches:
- main
- version-bumps
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # v3.5.1
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: '.nvmrc'
- run: npm install
- run: npm run lint
- run: npm run build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # v3.5.1
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: '.nvmrc'
- uses: cypress-io/github-action@a29a621b736c9a8547ba0236cc9cee1e49725bd5 # v5.6.1
id: cypress
with:
record: true
# we have already installed everything
# start: npm run firebase:emulator
wait-on: 'http://localhost:3000, http://localhost:9099, http://localhost:8082'
# install: false
# # to run component tests we need to use "cypress run-ct"
build: npm run build
start: npm run firebase:emulator
# command: npm run test
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
if: always()
with:
name: cypress-videos
path: cypress/videos