Skip to content

Fix home listing, single page, add to cart #154

Fix home listing, single page, add to cart

Fix home listing, single page, add to cart #154

Workflow file for this run

name: Run tests on Commit and Pull Request
on:
push:
branches:
- main
- hddev
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
- name: Run tests
run: npx vitest run --coverage
- name: Build project
run: npm run build
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}