Skip to content

Bump @typescript-eslint/eslint-plugin from 6.2.1 to 6.3.0 #673

Bump @typescript-eslint/eslint-plugin from 6.2.1 to 6.3.0

Bump @typescript-eslint/eslint-plugin from 6.2.1 to 6.3.0 #673

Workflow file for this run

name: Main CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
main:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: ["1.76.2", max] # ["x.x.x" | latest | max]
type: [stable] # [stable | insider]
fail-fast: false
timeout-minutes: 20
env:
CODE_VERSION: ${{ matrix.version }}
CODE_TYPE: ${{ matrix.type }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: "temurin"
- name: Install JBang (ubuntu, macOS)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: |
curl -Ls https://sh.jbang.dev | bash -s - app setup
echo "$HOME/.jbang/bin" >> $GITHUB_PATH
- name: Install JBang (windows)
if: matrix.os == 'windows-latest'
run: choco install jbang
- name: Setup JBang (trusted sources)
run: jbang trust add https://github.com/apache/
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "npm"
- name: Install global dependencies
run: npm install -g typescript @vscode/vsce
- name: npm-ci
run: npm ci
- name: npm-compile
run: npm run compile
- name: test (ubuntu)
id: test_Ubuntu
if: matrix.os == 'ubuntu-latest'
run: xvfb-run --auto-servernum npm test
- name: test (macos, windows)
if: matrix.os != 'ubuntu-latest'
run: npm test
- name: ui test (ubuntu)
id: uiTest_Ubuntu
if: matrix.os == 'ubuntu-latest'
run: xvfb-run --auto-servernum npm run ui-test
- name: ui test (macos, windows)
id: uiTest_MacOS_Windows
if: matrix.os != 'ubuntu-latest'
run: npm run ui-test
- name: vsce package
run: vsce package
- name: Store VS Code Logs (Ubuntu)
uses: actions/upload-artifact@v3
if: failure() && matrix.os == 'ubuntu-latest'
with:
name: ${{ matrix.os }}-${{ matrix.version }}-vscode-logs
path: ~/.config/Code/logs/*
- name: Store VS Code Logs (Macos)
uses: actions/upload-artifact@v3
if: failure() && matrix.os == 'macos-latest'
with:
name: ${{ matrix.os }}-${{ matrix.version }}-vscode-logs
path: ~/Library/Application Support/Code/logs/*
- name: Store VS Code Logs (Windows)
uses: actions/upload-artifact@v3
if: failure() && matrix.os == 'windows-latest'
with:
name: ${{ matrix.os }}-${{ matrix.version }}-vscode-logs
path: $env:USERPROFILE\AppData\Code\logs\*
- name: Store UI test log
uses: actions/upload-artifact@v3
if: failure() && (steps.uiTest_Ubuntu.outcome == 'failure' || steps.uiTest_MacOS_Windows.outcome == 'failure')
with:
name: ${{ matrix.os }}-${{ matrix.version }}-ui-test-logs
path: test-resources/settings/logs/*
- name: Store UI Test Screenshots
uses: actions/upload-artifact@v3
if: failure() && (steps.uiTest_Ubuntu.outcome == 'failure' || steps.uiTest_MacOS_Windows.outcome == 'failure')
with:
name: ${{ matrix.os }}-${{ matrix.version }}-ui-test-screenshots
path: test-resources/screenshots/*.png
check:
if: always()
runs-on: ubuntu-latest
name: Status Check
needs: [ main ]
steps:
- name: Test Matrix Result
run: |
echo result = ${{ needs.main.result }}
- name: Status Check - success
if: ${{ needs.main.result == 'success' }}
run: |
echo "All tests successfully completed!"
exit 0
- name: Status Check - failure
if: ${{ needs.main.result != 'success' }}
run: |
echo "Status Check failed!"
exit 1