Bump micromatch from 4.0.7 to 4.0.8 (#234) #55
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: 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-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
- uses: actions/[email protected] | |
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-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
- uses: actions/[email protected] | |
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 |