feat: remove image deps, now using astro buildin image tools #42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- beta | |
jobs: | |
lint: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ✅ | |
uses: actions/checkout@v3 | |
- name: Setup Node.js 🔧 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/*" | |
cache: "npm" | |
- name: Install dependencies 🛠️ | |
run: npm i | |
- name: Run Vitest 🧪 | |
run: npm run test:unit | |
- name: Create coverage report 📝 | |
run: npm run test:unit:coverage | |
- name: Codecov | |
uses: codecov/codecov-action@v3.1.1 | |
with: | |
directory: ./coverage |