Skip to content

chore: add type-powered eslint rules (#62) #192

chore: add type-powered eslint rules (#62)

chore: add type-powered eslint rules (#62) #192

Workflow file for this run

---
name: Code Health
on:
push:
branches:
- main
pull_request:
jobs:
check-style:
runs-on: ubuntu-latest
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run style check
run: npm run check
run-tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
if: matrix.os != 'windows-latest'
- name: Install keyring deps on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update -y
sudo apt install -y gnome-keyring libdbus-1-dev
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test