From 2ac1a18553a52ccc22739a40e99bf97300961e37 Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Thu, 1 Feb 2024 16:48:36 -0600 Subject: [PATCH] feat: update to node20 (#70) --- .github/workflows/ci.yml | 4 +++- .github/workflows/release.yml | 4 ++-- action.yml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcef4e1..39c6e27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 + with: + node-version: '20' - run: npm ci diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0644748..3bac6a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: "lts/*" + node-version: '20' - run: npm ci - run: npm run build - run: rm .gitignore # dist/ folder is ignored by default diff --git a/action.yml b/action.yml index 7d8dcd0..97f0541 100644 --- a/action.yml +++ b/action.yml @@ -14,5 +14,5 @@ outputs: jsonString: description: 'JSON string' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js'