Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

build(deps-dev): bump vite from 4.1.1 to 4.1.5 in /internal/server/web #83

build(deps-dev): bump vite from 4.1.1 to 4.1.5 in /internal/server/web

build(deps-dev): bump vite from 4.1.1 to 4.1.5 in /internal/server/web #83

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Unit Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20.1"
cache: true
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 7.27.1
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: Build frontend
run: |
npm i -g pnpm
pnpm install --dir internal/server/web --frozen-lockfile && pnpm run --dir internal/server/web build
- name: Download packages
run: go mod download
- name: Run tests
run: go test $(go list ./... | grep -v /tests) # Exclude the tests directory