fix: update remaining cases where ecs.version
was not a top-level f…
#40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 |