mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-21 19:11: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
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4.0.3
|
uses: actions/setup-node@v4.0.3
|
||||||
with:
|
with:
|
||||||
node-version: latest
|
node-version-file: .nvmrc
|
||||||
|
|
||||||
- name: Setup Yarn
|
- name: Setup Yarn
|
||||||
uses: threeal/setup-yarn-action@v2.0.0
|
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
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4.0.3
|
uses: actions/setup-node@v4.0.3
|
||||||
with:
|
with:
|
||||||
node-version: latest
|
node-version-file: .nvmrc
|
||||||
|
|
||||||
- name: Setup Yarn
|
- name: Setup Yarn
|
||||||
uses: threeal/setup-yarn-action@v2.0.0
|
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
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4.0.3
|
uses: actions/setup-node@v4.0.3
|
||||||
with:
|
with:
|
||||||
node-version: latest
|
node-version-file: .nvmrc
|
||||||
|
|
||||||
- name: Setup Yarn
|
- name: Setup Yarn
|
||||||
uses: threeal/setup-yarn-action@v2.0.0
|
uses: threeal/setup-yarn-action@v2.0.0
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
.*
|
.*
|
||||||
!.env.yarn
|
!.env.yarn
|
||||||
!.git*
|
!.git*
|
||||||
|
!.nvmrc
|
||||||
|
|
||||||
node_modules/
|
node_modules/
|
||||||
|
Loading…
Reference in New Issue
Block a user