mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-20 10:41:21 +00:00
build: specify Node version using .nvmrc
file (#433)
* build: specify Node.js version in `.nvmrc` file * ci: setup Node.js with version specified in `.nvmrc`
This commit is contained in:
parent
5b6a8c239e
commit
7920840f24
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4.0.3
|
||||
with:
|
||||
node-version: latest
|
||||
node-version-file: .nvmrc
|
||||
|
||||
- name: Setup Yarn
|
||||
uses: threeal/setup-yarn-action@v2.0.0
|
||||
|
2
.github/workflows/check.yaml
vendored
2
.github/workflows/check.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4.0.3
|
||||
with:
|
||||
node-version: latest
|
||||
node-version-file: .nvmrc
|
||||
|
||||
- name: Setup Yarn
|
||||
uses: threeal/setup-yarn-action@v2.0.0
|
||||
|
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4.0.3
|
||||
with:
|
||||
node-version: latest
|
||||
node-version-file: .nvmrc
|
||||
|
||||
- name: Setup Yarn
|
||||
uses: threeal/setup-yarn-action@v2.0.0
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
.*
|
||||
!.env.yarn
|
||||
!.git*
|
||||
!.nvmrc
|
||||
|
||||
node_modules/
|
||||
|
Loading…
Reference in New Issue
Block a user