Skip to content

Commit e14112d

Browse files
authored
Update pipeline.yml
1 parent 1b26a23 commit e14112d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pipeline.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ on:
77
branches: [ "main" ]
88
pull_request:
99
branches: [ "main" ]
10+
env:
11+
NODE_VERSION: 22.x
1012
jobs:
1113
install:
1214
name: Install
1315
runs-on: ubuntu-latest
1416
strategy:
1517
matrix:
16-
node-version: [22.x]
18+
node-version: [$NODE_VERSION]
1719
steps:
1820
- uses: actions/checkout@v4
1921
- name: Use Node.js ${{ matrix.node-version }}
@@ -28,6 +30,7 @@ jobs:
2830
needs: [install]
2931
runs-on: ubuntu-latest
3032
steps:
33+
- uses: actions/checkout@v4
3134
- name: Build
3235
run: npm run build --if-present
3336
test:

0 commit comments

Comments
 (0)