Skip to content

Bump vitest from 4.0.16 to 4.1.0 in /front #377

Bump vitest from 4.0.16 to 4.1.0 in /front

Bump vitest from 4.0.16 to 4.1.0 in /front #377

Workflow file for this run

name: Front
env:
TZ: Asia/Tokyo
on:
push:
branches:
- main
paths:
- .github/workflows/front.yml
- front/**
pull_request:
paths:
- .github/workflows/front.yml
- front/**
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
cache: "npm"
cache-dependency-path: front/package-lock.json
- run: npm ci
working-directory: ./front
- run: npm run relay-compiler --validate
working-directory: ./front
- run: npm run tsc --noEmit
working-directory: ./front
- run: npm run eslint
working-directory: ./front
- run: npm run test
working-directory: ./front
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
cache: "npm"
cache-dependency-path: front/package-lock.json
- run: npm ci
working-directory: ./front
- run: npm run build
working-directory: ./front
- name: Upload build artifacts
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: build-artifacts
path: front/dist