From 8f56911429a97f4705093cbc4ecfb6139f3c2e49 Mon Sep 17 00:00:00 2001 From: PartMan <47669599+PartMan7@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:34:26 +0530 Subject: [PATCH] chore: Test env on Node 18.18.2 --- .github/workflows/test.yml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c55e583..6ea39be 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,30 +2,29 @@ name: Validity on: push: - branches: [ main ] + branches: [main] paths-ignore: - - 'LICENSE' - - 'README.md' + - 'LICENSE' + - 'README.md' pull_request: - branches: [ main, dev ] + branches: [main] paths-ignore: - - 'LICENSE' - - 'README.md' + - 'LICENSE' + - 'README.md' jobs: test: - strategy: matrix: - node-version: [16.x] + node-version: [18.18.2] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm test + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test