Skip to content

ci: Update ALL Dependencies (main) -- Workflow Bot (#3000) #4802

ci: Update ALL Dependencies (main) -- Workflow Bot (#3000)

ci: Update ALL Dependencies (main) -- Workflow Bot (#3000) #4802

Workflow file for this run

name: " 🧪 Build and Test"
on: # rebuild any PRs and main branch changes
pull_request:
paths-ignore:
- "docs/**"
push:
branches:
- main
paths-ignore:
- "docs/**"
jobs:
build-test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: ["${{ vars.DEFAULT_NODE_VERSION }}"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run build
- run: npm run test
# Ensure the repository is clean after build & test
- run: git --no-pager diff --compact-summary --exit-code
test-vsce-build:
strategy:
matrix:
os: [ubuntu-latest]
node-version: ["${{ vars.DEFAULT_NODE_VERSION }}"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run test-vsce-build