Skip to content

Commit

Permalink
feat: upgrade CI Node.js version to 20 (#26)
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

---------

Co-authored-by: Yang Luo <[email protected]>
  • Loading branch information
ali-shokoohi and hsluoyz authored Oct 5, 2024
1 parent 46cd3a8 commit 0747ebe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 0747ebe

Please sign in to comment.