build(deps-dev): bump webpack from 5.88.2 to 5.89.0 in /code #118
Workflow file for this run
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: 'PR: vscode' | |
on: | |
pull_request: | |
branches: | |
- develop | |
- release | |
paths: | |
- 'code/**' | |
jobs: | |
vscode: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: 'actions/checkout@v4' | |
- uses: 'actions/setup-node@v3' | |
with: | |
node-version: 16.x | |
cache: 'npm' | |
cache-dependency-path: 'code/package-lock.json' | |
- uses: 'actions/setup-python@v4' | |
with: | |
# This must be the minimum Python version we support | |
python-version: "3.8" | |
- name: Pip cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-vscode-pip-deps-${{ hashFiles('code/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-vscode-pip-deps | |
- run: | | |
python --version | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade bump2version tox | |
name: Install Build Tools | |
- run: | | |
set -e | |
cd lib/esbonio | |
tox run -e pkg | |
echo "ESBONIO_WHL=$(find $(pwd)/dist -name '*.whl')" >> $GITHUB_ENV | |
name: Package Language Server | |
- run: | | |
set -e | |
./scripts/make-release.sh vscode | |
name: Set Versions | |
- run: | | |
set -e | |
echo "whl=${ESBONIO_WHL}" | |
cd code | |
ESBONIO_WHL=${ESBONIO_WHL} tox run -e bundle-deps | |
npm ci --prefer-offline | |
npm run package | |
id: assets | |
name: Package Extension | |
- name: 'Upload Artifact' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: 'vsix' | |
path: code/*.vsix | |
if-no-files-found: error | |
retention-days: 7 |