Skip to content

synchronize ecs-logging spec (#135) #38

synchronize ecs-logging spec (#135)

synchronize ecs-logging spec (#135) #38

Workflow file for this run

## Test with multiple node versions.
name: test
on:
push:
branches:
- main
tags:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: .ci/run-install.sh
- run: .ci/run-lint.sh
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [10, 12, 14, 16, 18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: .ci/run-install.sh
- name: Test Node.js v${{ matrix.node-version }}
run: .ci/run-test.sh