Skip to content

Commit e830a41

Browse files
authored
Enhance CI Configuration and Node.js Versioning (#277)
* Update ci.yml * Create .node-version
1 parent d994926 commit e830a41

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- main
88
- 'releases/*'
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
test-typescript:
1215
name: TypeScript Tests
@@ -21,7 +24,7 @@ jobs:
2124
id: setup-node
2225
uses: actions/setup-node@v4
2326
with:
24-
node-version: 20
27+
node-version-file: .node-version
2528
cache: npm
2629

2730
- name: Install Dependencies

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
21.6.2

0 commit comments

Comments
 (0)