From 2f9c0f94dacf4d81bbb92fc699072b2252660257 Mon Sep 17 00:00:00 2001 From: Shokoohi Date: Sat, 5 Oct 2024 13:46:19 +0330 Subject: [PATCH] feat: fix Node engine version after installing new version of Node (#27) * 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 * Replaced docker action with "docker/setup-buildx-action@v3" action instead of "docker-practice/actions-setup-docker@master" because that wasn't compatible with newest Ubuntu version: 24.04 * Fix: #25 Removed updating PATH because it make us to use old version of Node and getting error --------- Co-authored-by: Yang Luo --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7dcb915..2c1637c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,8 @@ jobs: - name: Run semantic-release if: github.repository == 'casbin/casbin-go-client' && github.event_name == 'push' run: | - export PATH="$(yarn global bin):$PATH" + yarn -v + node -v yarn global add semantic-release semantic-release env: