Skip to content

Revert "Title link (#53)" #25

Revert "Title link (#53)"

Revert "Title link (#53)" #25

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Tests
on:
push:
paths:
- '**.vue'
- '**.ts'
- '**.tsx'
- '**.js'
- '**.jsx'
- '**.json'
- '**/vitest.yml'
pull_request:
branches: [ main, dev ]
jobs:
test:
runs-on: ubuntu-latest
name: Run tests (Vue/Vitest)
strategy:
fail-fast: false
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install packages
run: npm ci
- name: Unpack cached svg:s
run: rm -rf svg && tar -xJf svg.tar.lzma && ./convert.sh --no-generate
working-directory: ./music
- name: Run tests
run: npx vitest --coverage; npx codecov