From 0747ebedc41fa4fd9a00cc06cb131f5e959e0341 Mon Sep 17 00:00:00 2001 From: Shokoohi Date: Sat, 5 Oct 2024 12:13:41 +0330 Subject: [PATCH] feat: upgrade CI Node.js version to 20 (#26) * Fix: #25 Added a new step to setup the Node version to "20.8.1". Changes: - Added setup Node version step in ".github/workflows/ci.yml" file to use Node version "20.8.1" * Specified Ubuntu vesrion to prevent same version conflicts in the future Changes: - Specified Ubuntu version in "runs-on" steps * Update ci.yml --------- Co-authored-by: Yang Luo --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 007358c..7dcb915 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 20 + - name: Run semantic-release if: github.repository == 'casbin/casbin-go-client' && github.event_name == 'push' run: |