chore: vnext unit tests (#758)

* fix: unit tests

* get unit tests running
This commit is contained in:
Peter Woodworth
2023-06-29 17:29:11 -07:00
committed by GitHub
parent d26f2d03f8
commit 7526948ef9
7 changed files with 50 additions and 164 deletions
+20 -20
View File
@@ -82,23 +82,23 @@ jobs:
uses: bahmutov/npm-install@v1
- name: "Lint code"
run: npm run lint --if-present
# unit-test:
# strategy:
# fail-fast: false
# matrix:
# os: [windows-latest, ubuntu-latest, macos-latest]
# node: [14, 16, 18]
# name: Run unit tests
# runs-on: ${{ matrix.os }}
# timeout-minutes: 5
# steps:
# - name: "Checkout repository"
# uses: actions/checkout@v3
# - name: "Setup node"
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node }}
# - name: "Install dependencies"
# uses: bahmutov/npm-install@v1
# - name: "Run tests"
# run: npm run test --if-present
unit-test:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [14, 16, 18]
name: Run unit tests
runs-on: ${{ matrix.os }}
timeout-minutes: 5
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
- name: "Setup node"
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: "Install dependencies"
uses: bahmutov/npm-install@v1
- name: "Run tests"
run: npm run test --if-present