Browse Source

Update anchor.yml

Valentin Madrid 2 years ago
parent
commit
091ed3c1dd
1 changed files with 10 additions and 0 deletions
  1. 10 0
      .github/workflows/anchor.yml

+ 10 - 0
.github/workflows/anchor.yml

@@ -89,8 +89,18 @@ jobs:
         run: |
         run: |
           echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
           echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
           echo "/home/runner/.cargo/bin" >> $GITHUB_PATH
           echo "/home/runner/.cargo/bin" >> $GITHUB_PATH
+          echo "/home/runner/.avm/bin" >> $GITHUB_PATH
         shell: bash
         shell: bash
         
         
+      - name: Set up Node.js environment
+        uses: actions/setup-node@v2
+        with:
+          node-version: '16'
+          
+      - name: Install Anchor
+        run: |
+          npm install -g @coral-xyz/anchor
+        shell: bash
           
           
 
 
       - name: Build program
       - name: Build program