Bump eslint from 7.32.0 to 9.5.0 #499
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: Tests | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
include: | |
- os: macos-latest | |
label: 'darwin' | |
- os: ubuntu-latest | |
label: 'linux' | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18.15' | |
- name: Install build tools | |
run: npm i -g vsce | |
- name: Install dependencies | |
run: npm i | |
- name: Compile extension | |
run: npm run vscode:prepublish | |
- run: vsce package | |
- name: eslint | |
run: npm run eslint | |
- name: Tests | |
run: xvfb-run --auto-servernum npm run test --silent | |
if: runner.os == 'Linux' | |
- name: Tests | |
run: npm run test --slient | |
if: runner.os != 'Linux' |