Bump webpack from 5.94.0 to 5.96.1 #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Run Tests (Linux) | |
if: runner.os == 'Linux' | |
run: xvfb-run -a npm test | |
- name: Run Tests (MacOS, Windows) | |
if: runner.os != 'Linux' | |
run: npm test | |
- name: Package extension | |
if: runner.os == 'Linux' | |
run: npm run vscode:package | |
- name: Upload extension | |
uses: actions/upload-artifact@v4 | |
if: runner.os == 'Linux' | |
with: | |
name: vscode-apex-pmd | |
path: apex-pmd-*.vsix |