Skip to content

Bump @typescript-eslint/eslint-plugin from 6.19.0 to 7.0.1 #226

Bump @typescript-eslint/eslint-plugin from 6.19.0 to 7.0.1

Bump @typescript-eslint/eslint-plugin from 6.19.0 to 7.0.1 #226

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.generate-test-matrix.outputs.matrix }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint codebase
run: npm run lint
- name: Build extension
run: npm run build
- name: Pack extension
run: mkdir out && npm pack --pack-destination out
- name: Save extension pack
uses: actions/cache/save@v3
with:
path: out
key: pack-${{ github.run_id }}
- name: Generate test matrix
id: generate-test-matrix
env:
TEST_CONSTRAINTS: |
["~6.4.0", "~6.3.0"]
TEST_HEAD_REF: '0'
run: |
echo "matrix=$(node tools/generate_test_matrix.js)" >> $GITHUB_OUTPUT
integration:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
include: ${{ fromJSON(needs.build.outputs.matrix) }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up minikube
uses: medyagh/setup-minikube@latest
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- name: Restore extension pack
uses: actions/cache/restore@v3
with:
path: out
key: pack-${{ github.run_id }}
- name: Run integration test
run: |-
EXTENSION_PATH="$(realpath out/$(ls -1 out))" LENS_REF="${{ matrix.lens-ref }}" xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' tools/integration_test.sh