From 83630b8eec1e700e7176b58e0b327fdc92b5e734 Mon Sep 17 00:00:00 2001 From: Anudeep Date: Tue, 30 Apr 2024 08:35:45 +0530 Subject: [PATCH] chore: removed node version 20 --- .github/workflows/build.yml | 4 ++-- .github/workflows/coverage.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3d35b5..6a7f924 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,12 +22,12 @@ jobs: strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] - node-version: [18.x, 20.x] + node-version: [18.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d0275e3..772d017 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -15,9 +15,9 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '18.x' - run: npm install - name: Code Coverage uses: paambaati/codeclimate-action@v2.4.0 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7845e47..87bfae2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,9 +8,9 @@ jobs: steps: - uses: actions/checkout@v2 # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '18.x' registry-url: 'https://registry.npmjs.org' - run: npm install - run: npm test