From 01390190d4a83c27ddea4e5f5dac12ef7568c8da Mon Sep 17 00:00:00 2001 From: Sean Morris <640101+seanmorris@users.noreply.github.com> Date: Sun, 25 Aug 2024 20:37:58 -0400 Subject: [PATCH] Tests. --- .editorconfig | 7 +++++++ .github/workflows/test.yaml | 13 ++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 02706d0..71694f2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,3 +6,10 @@ insert_final_newline = true charset = utf-8 trim_trailing_whitespace = true +[*.yaml] +indent_style = space +indent_size = 2 + +[*.md] +indent_style = space +indent_size = 4 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5496904..2c998f6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,7 +4,14 @@ jobs: test: name: Test runs-on: ubuntu-latest + strategy: + matrix: + node: [ 16, 18, 20, 22 ] steps: - - uses: actions/checkout@v4 - - run: npm ci - - run: npm test + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + - uses: actions/checkout@v4 + - run: npm ci + - run: npm test