mirror of
https://github.com/eleith/emailjs.git
synced 2024-07-07 04:30:38 +00:00
32 lines
634 B
YAML
32 lines
634 B
YAML
on: push
|
|
|
|
jobs:
|
|
test:
|
|
name: lint
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node: [^10, ^12, ^14, ^16, ^17]
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: node
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
|
|
- name: install (node 10)
|
|
if: matrix.node == '^10'
|
|
run: yarn install --ignore-engines
|
|
|
|
- name: install
|
|
if: matrix.node != '^10'
|
|
run: yarn install
|
|
|
|
- name: lint
|
|
run: yarn lint
|