Skip to content

Bump vue from 3.4.21 to 3.4.26 in /frontend #801

Bump vue from 3.4.21 to 3.4.26 in /frontend

Bump vue from 3.4.21 to 3.4.26 in /frontend #801

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.21"]
nodejs-version: ["18"]
steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev npm pkg-config libfuse-dev -y
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodejs-version }}
cache: "pnpm"
cache-dependency-path: frontend/pnpm-lock.yaml
- name: Build assets
run: |
pnpm install --dir frontend
pnpm run --dir frontend build
- name: Test
run: |
echo "Test all packages except Wails"
go test -v -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v frontend)
- name: Convert to lcov
run: |
go install github.com/jandelgado/gcov2lcov@latest
gcov2lcov -infile=coverage.txt -outfile=coverage.lcov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov