Feat/proxy setting #263
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: | |
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/rpmlint-action@v0.1.1 | |
with: | |
rpmfiles: packages/rpm/caprine.spec |