chore(release): 1.1.1 #80
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: Run tests | |
on: | |
push: | |
jobs: | |
unit-tests: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Install packages | |
run: npm i | |
- name: Run tests | |
run: npm run test | |
- name: Report coverage | |
uses: coverallsapp/github-action@v2 | |
linux-integration-tests: | |
name: Run integration tests on Linux | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: | |
- 12 | |
- 13 | |
- 14 | |
- 15 | |
- 16 | |
- 17 | |
- 18 | |
- 19 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install packages | |
if: matrix.node < 16 | |
run: npm i --production --ignore-scripts | |
- name: Install packages | |
if: matrix.node >= 16 | |
run: npm i --omit=dev --ignore-scripts | |
- name: Run tests | |
run: npm run test:integration | |
win-integration-tests: | |
name: Run integration tests on Windows | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node: | |
- 12 | |
- 13 | |
- 14 | |
- 15 | |
- 16 | |
- 17 | |
- 18 | |
- 19 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install packages | |
if: matrix.node < 16 | |
run: npm i --production --ignore-scripts | |
- name: Install packages | |
if: matrix.node >= 16 | |
run: npm i --omit=dev --ignore-scripts | |
- name: Run tests | |
run: npm run test:integration |