Skip to content

Commit

Permalink
feat: fix Node engine version after installing new version of Node (#27)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
ali-shokoohi and hsluoyz authored Oct 5, 2024
1 parent 0747ebe commit 2f9c0f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2f9c0f9

Please sign in to comment.