Skip to content

multi-version node workflow #2

multi-version node workflow

multi-version node workflow #2

Workflow file for this run

name: Run tests

Check failure on line 1 in .github/workflows/run-tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-tests.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: matrix-strategy
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
matrix-strategy:
strategy:
matrix:
version: [18.18, 20.18]
test-runner:
name: test runner
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: checkout code
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
- name: initialize deps
run: npm install
- name: run tests
run: npm run test