Skip to content

Commit

Permalink
feat: change file for keeping NodeJS version
Browse files Browse the repository at this point in the history
  • Loading branch information
sztadii committed Aug 5, 2022
1 parent 1ca2c9f commit 878bca3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ jobs:
uses: actions/checkout@v3

- name: Setup NodeJS
uses: actions/setup-node@v3
# node-version-file will support package.json file
# once they publish it as a stable release please uncomment the below line
# uses: actions/setup-node@v3
uses: actions/setup-node@348e00800850ca70958af8888ebdb3cce7cbcddc
with:
node-version-file: '.nvmrc'
node-version-file: 'package.json'

- name: Dependency installation
run: npm ci
Expand Down
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,8 @@
"no-console": "off",
"no-unused-vars": "off"
}
},
"engines": {
"node": "14.17.1"
}
}

0 comments on commit 878bca3

Please sign in to comment.