Skip to content

Remove unnecessary Dark Mode CSS (#2155) #274

Remove unnecessary Dark Mode CSS (#2155)

Remove unnecessary Dark Mode CSS (#2155) #274

Workflow file for this run

name: Tests
on:
push:
branches-ignore:
- gh-pages
pull_request:
workflow_call:
jobs:
npm-cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
tsc:
runs-on: ubuntu-latest
needs: npm-cache
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Compile TypeScript
run: |
npm ci
npm run test:tsc
xo:
runs-on: ubuntu-latest
needs: npm-cache
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Lint source code
run: |
npm ci
npm run lint:xo
stylelint:
runs-on: ubuntu-latest
needs: npm-cache
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Lint styles
run: |
npm ci
npm run lint:stylelint
rpmspec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint rpm spec file
uses: EyeCantCU/[email protected]
with:
rpmfiles: packages/rpm/caprine.spec