File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ jobs:
1414 steps :
1515 - uses : actions/checkout@v4
1616
17- - name : ' setup node: 18 platform: ${{ runner.os }}'
17+ - name : ' setup node: 20 platform: ${{ runner.os }}'
1818 uses : actions/setup-node@v4
1919 with :
20- node-version : 18
20+ node-version : 20
2121
2222 - name : npm install
2323 run : |
Original file line number Diff line number Diff line change 1010 runs-on : ${{ matrix.os }}
1111 strategy :
1212 matrix :
13- node-version : [18 ]
13+ node-version : [20 ]
1414 os : [ubuntu-latest, windows-latest, macos-latest]
1515
1616 steps :
6262
6363 - name : npm test
6464 env :
65- BUILD_VERSION : ' 0.99.${{ github.event.number }}'
65+ BUILD_VERSION : 0.99.${{ github.run_number }}
6666 VSCODE_BUILD_VERBOSE : true
6767 DISPLAY : ' :99.0'
6868 shell : pwsh
7272 - name : vsce package
7373 if : runner.os == 'Linux'
7474 env :
75- BUILD_VERSION : ' 0.99.${{ github.event.number }}'
75+ BUILD_VERSION : 0.99.${{ github.run_number }}
7676 shell : pwsh
7777 run : |
7878 invoke-psake -properties @{ packageVersion = $env:BUILD_VERSION } -tasklist bump
Original file line number Diff line number Diff line change 44 workflow_dispatch :
55
66env :
7- NODE_VERSION : ' 18.x '
7+ NODE_VERSION : ' 20 '
88
99jobs :
1010 release :
Original file line number Diff line number Diff line change 1616 name : " Release Prep"
1717 runs-on : " ubuntu-latest"
1818 env :
19- NODE_VERSION : " 18 "
19+ NODE_VERSION : " 20 "
2020
2121 steps :
2222 - name : " Checkout"
Original file line number Diff line number Diff line change 99 - " main"
1010 workflow_dispatch :
1111
12- env :
12+ env :
1313 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
1414
1515jobs :
1616 build :
1717 runs-on : ${{ matrix.os }}
1818 strategy :
1919 matrix :
20- node-version : [18 ]
20+ node-version : [20 ]
2121 os : [ubuntu-latest, windows-latest, macos-latest]
2222
2323 steps :
@@ -76,16 +76,16 @@ jobs:
7676 npm run test:coverage
7777
7878 - name : Upload Coverage
79- if : |
80- runner.os == 'Linux' &&
79+ if : |
80+ runner.os == 'Linux' &&
8181 env.CODECOV_TOKEN != ''
8282 uses : codecov/codecov-action@v4
8383 with :
8484 token : ${{ secrets.CODECOV_TOKEN }}
8585 files : ./coverage.xml
8686 fail_ci_if_error : true
8787 verbose : true
88-
88+
8989 - name : vsce package
9090 if : runner.os == 'Linux'
9191 env :
You can’t perform that action at this time.
0 commit comments