testing 1.0.9 #2
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: ⚡ Test generate badges | |
on: | |
push: | |
branches: | |
- esbuild | |
jobs: | |
coverage-badges-generation: | |
name: 📣 Coverage badges generation | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: 🛑 Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.12.1 | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 📦 Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.node-version' | |
registry-url: 'https://registry.npmjs.org' | |
cache: 'pnpm' | |
cache-dependency-path: ./package.json | |
- name: 📥 Install deps | |
run: pnpm install --frozen-lockfile | |
- name: 🔍 Tests | |
run: pnpm test-ci | |
- name: ⚙️ Generating coverage badges | |
uses: jpb06/coverage-badges-action@v1.0.9 | |
with: | |
branches: esbuild | |
badges-icon: vitest |