Skip to content

Commit

Permalink
feat: use node v20 instead of v16 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravgeetdhillon authored Jan 30, 2024
1 parent 1bd6e6b commit cdff362
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/test-and-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,17 @@ jobs:
- name: Set up Repository
uses: actions/checkout@v3

- name: Get Node Version
id: node_version
run: |
node_version=`cat .nvmrc`
echo "::set-output name=node_version::$node_version"
echo "Node Version: $node_version"
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ steps.node_version.outputs.node_version }}

- name: Cache NPM Dependencies
id: cache-npm-dependencies
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v20

0 comments on commit cdff362

Please sign in to comment.