diff --git a/.github/workflows/mend.yml b/.github/workflows/mend.yml index 9c74c1e4..31170e32 100644 --- a/.github/workflows/mend.yml +++ b/.github/workflows/mend.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: 'setup node: 18 platform: ${{ runner.os }}' + - name: 'setup node: 20 platform: ${{ runner.os }}' uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: npm install run: | diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 65346cd8..dfe39782 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -10,7 +10,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [18] + node-version: [20] os: [ubuntu-latest, windows-latest, macos-latest] steps: @@ -62,7 +62,7 @@ jobs: - name: npm test env: - BUILD_VERSION: '0.99.${{ github.event.number }}' + BUILD_VERSION: 0.99.${{ github.run_number }} VSCODE_BUILD_VERBOSE: true DISPLAY: ':99.0' shell: pwsh @@ -72,7 +72,7 @@ jobs: - name: vsce package if: runner.os == 'Linux' env: - BUILD_VERSION: '0.99.${{ github.event.number }}' + BUILD_VERSION: 0.99.${{ github.run_number }} shell: pwsh run: | invoke-psake -properties @{ packageVersion = $env:BUILD_VERSION } -tasklist bump diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5baa1cf3..568f11f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: env: - NODE_VERSION: '18.x' + NODE_VERSION: '20' jobs: release: diff --git a/.github/workflows/release_prep.yml b/.github/workflows/release_prep.yml index f68a896a..629f191d 100644 --- a/.github/workflows/release_prep.yml +++ b/.github/workflows/release_prep.yml @@ -16,7 +16,7 @@ jobs: name: "Release Prep" runs-on: "ubuntu-latest" env: - NODE_VERSION: "18" + NODE_VERSION: "20" steps: - name: "Checkout" diff --git a/.github/workflows/vscode-ci.yml b/.github/workflows/vscode-ci.yml index 994b9a65..e3481f76 100644 --- a/.github/workflows/vscode-ci.yml +++ b/.github/workflows/vscode-ci.yml @@ -9,7 +9,7 @@ on: - "main" workflow_dispatch: -env: +env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} jobs: @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [18] + node-version: [20] os: [ubuntu-latest, windows-latest, macos-latest] steps: @@ -76,8 +76,8 @@ jobs: npm run test:coverage - name: Upload Coverage - if: | - runner.os == 'Linux' && + if: | + runner.os == 'Linux' && env.CODECOV_TOKEN != '' uses: codecov/codecov-action@v4 with: @@ -85,7 +85,7 @@ jobs: files: ./coverage.xml fail_ci_if_error: true verbose: true - + - name: vsce package if: runner.os == 'Linux' env: