Valentin Madrid 2 years ago
parent
commit
a1812572d3
1 changed files with 2 additions and 9 deletions
  1. 2 9
      .github/workflows/anchor.yml

+ 2 - 9
.github/workflows/anchor.yml

@@ -28,12 +28,6 @@ jobs:
           path: target
           key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.lock') }}
           
-      - uses: actions/setup-node@v3
-        with:
-          node-version: 16.14.2
-          cache: "npm"
-    
-      - run: npm install
 
       - name: Install dependencies
         run: |
@@ -93,9 +87,8 @@ jobs:
           
       - name: Set environment variables
         run: |
-          echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
-          echo "$HOME/.cargo/bin" >> $GITHUB_PATH
-          npm i -g @project-serum/anchor-cli ts-mocha typescript
+          echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
+          echo "/home/runner/.cargo/bin" >> $GITHUB_PATH
         shell: bash