Skip to content

Merge branch 'main' into release/v1.0.0 #17

Merge branch 'main' into release/v1.0.0

Merge branch 'main' into release/v1.0.0 #17

Workflow file for this run

name: Test
on:
push:
branches:
- master
- develop
- release/*
- hotfix/*
pull_request:
types:
- opened
- synchronize
jobs:
test:
strategy:
matrix:
node-version:
- 10.18.0
- 12
- 14
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- run: git config --global user.name github-actions
- run: git config --global user.email [email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Ensure dependencies are compatible with the version of node
run: echo 'engine-strict=true' >> .npmrc
- name: Setup NPM
uses: bahmutov/npm-install@v1
- name: Run tests
run: npm run test