From 7fa6bd65b4d73a26ad0c729d7d44f671bd691b6b Mon Sep 17 00:00:00 2001 From: aaravm Date: Tue, 9 Jul 2024 13:25:25 +0530 Subject: [PATCH] remove nodejs --- .github/workflows/ci.yml | 6 ------ .github/workflows/local.yml | 27 +++++---------------------- 2 files changed, 5 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40ed117..177567f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/local.yml b/.github/workflows/local.yml index 6d6775b..d0b039f 100644 --- a/.github/workflows/local.yml +++ b/.github/workflows/local.yml @@ -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 @@ -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