Skip to content

Commit 69485e5

Browse files
authored
chore: several node improvements (#632)
1 parent 56b9182 commit 69485e5

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

.github/workflows/pipeline.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Use Node
3030
uses: actions/setup-node@v3
3131
with:
32-
node-version: 16
32+
node-version-file: '.nvmrc'
3333

3434
- name: Install dependencies
3535
uses: bahmutov/npm-install@v1
@@ -96,7 +96,7 @@ jobs:
9696
- name: Use Node
9797
uses: actions/setup-node@v3
9898
with:
99-
node-version: 16
99+
node-version-file: '.nvmrc'
100100

101101
- name: Install dependencies
102102
uses: bahmutov/npm-install@v1

.github/workflows/smoke-test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 16
17+
node-version-file: '.nvmrc'
18+
cache: 'npm'
1819
- run: |
1920
npm install
2021
npm run build

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
package-lock=false
2+
auto-install-peers=true

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

MAINTAINERS.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
This document outlines some processes that the maintainers should stick to.
22

3+
## Node.js version
4+
5+
We will try to stick to the same range of [Node.js versions supported by ESLint](https://github.com/eslint/eslint#installation-and-usage) as much as possible.
6+
7+
For local development and CI, we will use the Maintenance LTS version (specified in `.nvmrc` file).
8+
39
## Issues Process
410

511
There are 3 types of issues that can be created:

0 commit comments

Comments
 (0)