Skip to content

chore(versions): bump pinned tool versions and unify kubelogin between settings and templates #5719

chore(versions): bump pinned tool versions and unify kubelogin between settings and templates

chore(versions): bump pinned tool versions and unify kubelogin between settings and templates #5719

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
permissions:
actions: read
contents: read
deployments: read
packages: none
steps:
- name: Harden Runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
disable-sudo: true
disable-telemetry: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
devdiv.pkgs.visualstudio.com:443
github.com:443
marketplace.visualstudio.com:443
nodejs.org:443
objects.githubusercontent.com:443
registry.npmjs.org:443
update.code.visualstudio.com:443
vscode.download.prss.microsoft.com:443
- name: Checkout Branch
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
- name: Build Extension
run: |
npm run install:all
- name: Lint
run: npm run lint:all
- name: Smoke test (Linux)
run: xvfb-run -a npm run test
if: runner.os == 'Linux'
- name: Smoke test (Mac, Windows)
run: npm run test
if: runner.os != 'Linux'
- name: Package Extension
if: matrix.os == 'ubuntu-latest'
run: |
npm run package
mkdir vsix
mv *.vsix vsix
- name: Archive Extension
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: vsix
path: vsix