From 9ec7e33fc9d67a25a2a30bbc677d90818a7d3279 Mon Sep 17 00:00:00 2001 From: AutomatedTester Date: Fri, 15 Mar 2024 11:00:31 +0000 Subject: [PATCH] Github actions to use and updated node versions --- .github/workflows/node.js.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 2a502be..d6a136d 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,18 +1,18 @@ name: Node.js CI -on: - push: - branches: [master] +on: + push: + branches: [main] pull_request: - branches: [master] + branches: [main] jobs: build: runs-on: ubuntu-latest strategy: - matrix: - node-version: [14.x, 16.x, 18.x] + matrix: + node-version: [18.x, 20.x, 21.x] steps: - uses: actions/checkout@v3 @@ -23,4 +23,4 @@ jobs: cache: 'npm' - run: npm ci - run: npm run lint - - run: npm test \ No newline at end of file + - run: npm test