Skip to content

This pr switches from rome to eslint and adds CI from pull requests #14

This pr switches from rome to eslint and adds CI from pull requests

This pr switches from rome to eslint and adds CI from pull requests #14

Workflow file for this run

name: Pull Request
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
jobs:
checks:
runs-on: ubuntu-latest
container:
image: registry.opensuse.org/opensuse/bci/nodejs:latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: install deps
run: npm ci && zypper install -y cockpit-devel make
- name: git workaround
run: git config --global --add safe.directory /__w/cockpit-tukit/cockpit-tukit
- name: build
run: make && npm run build
- name: lint & format check
run: npm run ci