This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
Bump vite from 4.5.0 to 5.2.8 #412
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- run: npm ci | |
- run: npm test | |
- run: npm run build | |
e2e: | |
name: Test E2E | |
runs-on: ubuntu-latest | |
needs: | |
- test | |
services: | |
api: | |
image: ghcr.io/eoi-testing-2022/tempy-backend:main | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.DOCKER_IMAGE_PULL_TOKEN }} | |
ports: | |
- "3000:3000" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- run: npm ci | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
build: npm run build | |
start: npm run dev |