Skip to content

Commit 7881f4e

Browse files
committed
fix: add node version
1 parent 1c06ee6 commit 7881f4e

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.github/workflows/run-build-test.yml

+11
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,28 @@ jobs:
1414
matrix:
1515
version: [20, 22]
1616
steps:
17+
# Checkout and setup.
1718
- name: Checkout repository
1819
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
20+
21+
# Set node version.
1922
- name: Set node version
2023
uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
2124
with:
2225
node-version: ${{ matrix.version }}
26+
27+
# Install dependencies.
2328
- name: Install dependencies
2429
run: npm install
30+
31+
# Build all packages.
2532
- name: Build all packages
2633
run: npm run build
34+
35+
# Run linting.
2736
- name: Run linting
2837
run: npm run lint
38+
39+
# Run unit tests.
2940
- name: Run unit tests
3041
run: npm test

.github/workflows/run-lint.yml

+14
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,33 @@ jobs:
1111
lint:
1212
runs-on: ubuntu-latest
1313
steps:
14+
15+
# Checkout and setup.
1416
- name: Checkout repository
1517
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
18+
19+
# Set node version.
1620
- name: Set node version
1721
uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
1822
with:
1923
node-version: 20
24+
25+
# Link Checker.
2026
- name: Link Checker
2127
uses: lycheeverse/lychee-action@c053181aa0c3d17606addfe97a9075a32723548a
2228
with:
2329
fail: true
2430
args: --scheme=https . --exclude-all-private --exclude npmjs.com
31+
32+
# Install dependencies.
2533
- name: Install dependencies
2634
run: npm install
35+
36+
# Run linting.
2737
- name: Run linting
2838
run: npm run lint
39+
40+
# Spell check.
2941
- name: Spell check
3042
uses: streetsidesoftware/cspell-action@4dc9d4bdf3974ed26d6f2e973c1e168edff47d80
3143
with:
@@ -34,6 +46,8 @@ jobs:
3446
check_dot_files: true
3547
incremental_files_only: false
3648
config: 'cspell.config.yml'
49+
50+
# ShellCheck.
3751
- name: Run ShellCheck
3852
uses: ludeeus/action-shellcheck@cd81f4475ab741e097ec0fe73b692f3e49d66b8c
3953
with:

.github/workflows/run-security-checks.yml

+8
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ jobs:
1414
# Checkout and setup.
1515
- name: Checkout repository
1616
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
17+
18+
# Set node version.
19+
- name: Set node version
20+
uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
21+
with:
22+
node-version: 20
23+
24+
# Install dependencies.
1725
- name: Install dependencies
1826
run: npm install
1927

0 commit comments

Comments
 (0)