1
0
mirror of https://github.com/eleith/emailjs.git synced 2024-06-26 00:39:03 +00:00
emailjs/.github/workflows/test.yml

35 lines
685 B
YAML
Raw Normal View History

on: push
jobs:
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
2021-10-27 15:07:36 +00:00
node: [^10, ^12, ^14, ^16, ^17]
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 }}
2021-08-28 19:04:01 +00:00
- name: install (node 10)
if: matrix.node == '^10'
run: yarn install --ignore-engines
- name: install
2021-08-28 19:04:01 +00:00
if: matrix.node != '^10'
run: yarn install
- name: test
run: yarn test
- name: test-cjs
run: yarn test-cjs