Release @major-tanya/itty-compression v0.2.2 #30
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: Run Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [ 18.x, 20.x ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node v${{ matrix.version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.version }} | |
cache: "npm" | |
- name: Clean Install Dependencies | |
run: npm ci | |
- name: Build project | |
run: npm run build | |
- name: Run Vitest | |
run: npm run test:once |