This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
fix: improve test #55
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
node-version: [10.x, 12.x, 14.x, 16.x] | |
platform: | |
- os: ubuntu-latest | |
- os: macos-latest | |
- os: windows-latest | |
runs-on: ${{ matrix.platform.os }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
- name: Use Nodejs ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
# Run for all environments | |
- name: Run Tests | |
run: npm test |