chore: fix typo #70
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: 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 |