fix: issue with spinner not show and update tsup to accept external … #122
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: Node.js CI | |
on: | |
push: | |
branches: [main, dev] | |
pull_request_target: | |
branches: [main, dev] | |
workflow_dispatch: | |
jobs: | |
unit: | |
name: Vitest Unit Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
node-version: [18, 20] | |
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 all dependencies | |
run: npm ci | |
- name: Run Vitest Unit Tests | |
run: npm run test |