From 4b45f3f3e36cc98fe0fb05ec22948dc51aa7c3e5 Mon Sep 17 00:00:00 2001 From: sinedied Date: Thu, 18 Jul 2024 11:10:50 +0200 Subject: [PATCH] ci: update workflows --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6b94cf..c433bd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - node-version: ['16', '>=18'] + node-version: ['>=18'] runs-on: ${{ matrix.platform }} @@ -21,10 +21,10 @@ jobs: - name: Disable git automatic line ending conversion run: git config --global core.autocrlf false - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 001b33c..3ce58a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' steps: - - uses: actions/checkout@v3 - - name: Use Node.js v18 - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - name: Use Node.js v20 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: Install dependencies and build run: | npm ci