Skip to content

Merge pull request #2 from aleattene/aleattene-fix-production-url #69

Merge pull request #2 from aleattene/aleattene-fix-production-url

Merge pull request #2 from aleattene/aleattene-fix-production-url #69

Workflow file for this run

name: Vite Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# jobs:
# cypress-run:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
# - name: Cypress install
# run: npm install
# - name: Cypress run
# uses: cypress-io/github-action@v2
# with:
# config-file: cypress.config.ts
# install: false
# ci: npm ci
# build: npm run build
# start: npm start
# run: npm run dev
# test: npm run test --coverage
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci && npm install && npm run build --if-present && npm test --coverage