Skip to content

Commit

Permalink
ci(release): run job on node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Dec 9, 2024
1 parent 0115871 commit ce47bef
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ jobs:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

steps:

- name: Run on node 16
run: |
apt update && apt -y install wget
touch "$HOME/.bashrc"
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm install 16
if: runner.os == 'Linux'

- name: Checkout
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit ce47bef

Please sign in to comment.