Skip to content

Commit

Permalink
chore: Update actions/setup-node to v4 (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiram6121 authored Oct 14, 2024
1 parent d6f397f commit c5133da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ jobs:
- name: Checkout commit
uses: actions/checkout@v4

- name: Read .nvmrc
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
node-version-file: ".nvmrc"
cache: yarn

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.1
20.x

0 comments on commit c5133da

Please sign in to comment.