Skip to content

Commit

Permalink
remove nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
aaravm committed Jul 9, 2024
1 parent 0d8d25c commit 7fa6bd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 28 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install Node.js # required for build-models.sh
run: |
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt-get install -y nodejs
- name: Set up JDK 11 # required for build-models.sh
uses: actions/setup-java@v3
with:
Expand Down
27 changes: 5 additions & 22 deletions .github/workflows/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,7 @@ jobs:
with:
path: target
key: ${{ runner.os }}-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-build-

- name: Cache Node.js dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
restore-keys: ${{ runner.os }}-build-

- name: Cache Maven dependencies
uses: actions/cache@v3
Expand All @@ -56,22 +49,12 @@ jobs:
path: ~/funnel/build
key: ${{ runner.os }}-funnel-${{ hashFiles('**/funnel/*') }}
restore-keys: ${{ runner.os }}-funnel-


- uses: actions/checkout@v4 # checkout the repository
- name: Install Rust
run: |
apt-get update
apt-get install -y curl git build-essential libssl-dev
if ! command -v rustup &> /dev/null # might not be installed while executing using `act`
then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. $HOME/.cargo/env
fi
rustup update stable
- name: Install Node.js # required for build-models.sh
run: |
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt-get install -y nodejs
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Set up JDK 11 # required for build-models.sh
uses: actions/setup-java@v3
Expand Down

0 comments on commit 7fa6bd6

Please sign in to comment.