From 14bbf03adaa57d228fefaab4a53b504c4048e573 Mon Sep 17 00:00:00 2001 From: Daniel Kreider Date: Mon, 27 May 2024 18:23:20 -0300 Subject: [PATCH] Fix node.js deprecation warning --- .github/workflows/main.yml | 4 ++-- .github/workflows/npmpublish.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e3f37c..9525e6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,9 +26,9 @@ jobs: key: ${{ runner.os }}-v1-npm-${{ hashFiles('**/package-lock.json') }} restore-keys: ${{ runner.os }}-v1-npm - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: latest - name: Install dependencies # If checksum for the `package-lock.json` hasn't changed then we shouldn't run diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 004a1df..3e648b8 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -1,7 +1,7 @@ name: NPM Publish env: - NODE_VERSION: 18 + NODE_VERSION: latest on: release: @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{env.NODE_VERSION}} cache: npm @@ -32,7 +32,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{env.NODE_VERSION}} registry-url: https://registry.npmjs.org/