Skip to content

Commit

Permalink
Move actions/setup-node to the front (it resets PATH) and bump action…
Browse files Browse the repository at this point in the history
… version
  • Loading branch information
mikemaccana committed Apr 22, 2024
1 parent 4d2e318 commit a304eea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ jobs:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install Solana CLI
run: |
Expand Down Expand Up @@ -60,11 +65,6 @@ jobs:
run: |
echo $PATH
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

# TODO: clean up PATH hacks after I work out why GITHUB_PATH does not work
- name: Check a blank Anchor project runs without warnings or errors
run: |
Expand Down

0 comments on commit a304eea

Please sign in to comment.