Skip to content

Commit d8bbd2b

Browse files
committed
Use .nvmrc for node version
1 parent 16c6fb1 commit d8bbd2b

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: CI
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
67
pull_request:
7-
branches: [main]
8+
branches:
9+
- main
810

911
concurrency:
1012
group: ${{ github.workflow }}-${{ github.ref }}
@@ -25,7 +27,7 @@ jobs:
2527
- name: Install Node
2628
uses: actions/[email protected]
2729
with:
28-
node-version: 21
30+
node-version-file: .nvmrc
2931

3032
- uses: xt0rted/[email protected]
3133

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Release
22

33
on:
44
release:
5-
types: [published]
5+
types:
6+
- published
67

78
env:
89
DOTNET_NOLOGO: true

.nvmrc

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

0 commit comments

Comments
 (0)