mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +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:
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/
|
||||
|
||||
Reference in New Issue
Block a user