Skip to content

Commit

Permalink
[#31] feat: add vitest, basic test and testing action
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelmmiguel committed Feb 13, 2022
1 parent 7de0bbe commit d4b47cc
Show file tree
Hide file tree
Showing 7 changed files with 2,247 additions and 7,572 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: SVGI Testing

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm run test:ci
Loading

0 comments on commit d4b47cc

Please sign in to comment.