Skip to content

GLSP-1449 Update to latest client version (#238) #67

GLSP-1449 Update to latest client version (#238)

GLSP-1449 Update to latest client version (#238) #67

Workflow file for this run

name: CI
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: Build & Test
timeout-minutes: 60
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-node@v4.0.2
with:
node-version: 18.x
- uses: actions/setup-python@v5.1.0
with:
python-version: '3.11'
- name: Build
run: yarn --skip-integrity-check --network-timeout 100000
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
- name: Check for uncommitted changes in yarn.lock
run: |
if git diff --name-only | grep -q "^yarn.lock"; then
echo "::error::The yarn.lock file has uncommitted changes!"
exit 1
fi
- name: Build electron
run: yarn electron build
env:
NODE_OPTIONS: --max_old_space_size=4096
- name: Build browser
run: yarn browser build
env:
NODE_OPTIONS: --max_old_space_size=4096
lint:
name: Lint
timeout-minutes: 60
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-node@v4.0.2
with:
node-version: 18.x
- uses: actions/setup-python@v5.1.0
with:
python-version: '3.11'
- name: Install
run: |
yarn install --ignore-scripts
yarn compile
- name: Create eslint json report
run: |
yarn lint:ci
- name: Create summary
if: always()
run: |
npm_config_yes=true npx github:10up/eslint-json-to-md#82ff16b --path ./eslint_report.json --output ./eslint_report.md
cat eslint_report.md >> $GITHUB_STEP_SUMMARY