From e710b9dae828e1ae081f5d773bd7b3126eec5236 Mon Sep 17 00:00:00 2001 From: Maximilian Antoni Date: Wed, 27 Dec 2023 17:35:45 +0100 Subject: [PATCH] Use setup-node v4 and use lts/* as node-version --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a2fe63..a2c4236 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,9 +11,9 @@ jobs: steps: - uses: actions/checkout@v2 - uses: mansona/npm-lockfile-version@v1 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "lts/*" - name: Cache modules uses: actions/cache@v2 with: @@ -37,9 +37,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "lts/*" - name: Cache npm uses: actions/cache@v2 with: @@ -68,7 +68,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Cache modules