Skip to content

Commit ec46c1a

Browse files
authored
Merge branch 'main' into use-docker-actions-ci
2 parents cf5b2d0 + a572db1 commit ec46c1a

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@ jobs:
1515
- name: Checkout code
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
1717

18+
- name: Setup Node.js
19+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
20+
with:
21+
node-version-file: '.nvmrc'
22+
cache: 'npm'
23+
1824
- name: Install Dependencies
19-
run: npm install
25+
run: npm ci --ignore-scripts
2026

2127
- name: Run Build
2228
run: NEXT_TELEMETRY_DISABLED=1 npm run build

.github/workflows/lint.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@ jobs:
1515
- name: Checkout code
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
1717

18+
- name: Setup Node.js
19+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
20+
with:
21+
node-version-file: '.nvmrc'
22+
cache: 'npm'
23+
1824
- name: Install Dependencies
19-
run: npm install
25+
run: npm ci --ignore-scripts
2026

2127
- name: Run Lint
2228
run: npm run lint

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@ jobs:
1515
- name: Checkout code
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
1717

18+
- name: Setup Node.js
19+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
20+
with:
21+
node-version-file: '.nvmrc'
22+
cache: 'npm'
23+
1824
- name: Install Dependencies
19-
run: npm install
25+
run: npm ci --ignore-scripts
2026

2127
- name: Run Jest Tests
2228
run: npm test

0 commit comments

Comments
 (0)