emailjs/.github/workflows/test.yml

27 lines
487 B
YAML
Raw Normal View History

on: push
jobs:
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
2022-04-21 21:37:42 +00:00
node: [^12, ^14, ^16, ^18]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: checkout
2020-10-30 06:43:28 +00:00
uses: actions/checkout@v2
- name: node
2021-05-20 15:21:45 +00:00
uses: actions/setup-node@v2
with:
2020-10-30 06:43:28 +00:00
node-version: ${{ matrix.node }}
- name: install
run: yarn install
- name: test
run: yarn test