Skip to content

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

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

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

Workflow file for this run

name: ' 🧪 Build and Test'
on:
pull_request:
paths-ignore:
- 'docs/**'
push:
branches:
- main
paths-ignore:
- 'docs/**'
jobs:
build-test:
strategy:
matrix:
os:
# - macos-latest # Disabled because github actions randomly fails on macos
- 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