2020-01-12 11:58:42 +02:00
|
|
|
name: Code quality checks
|
|
|
|
|
2021-11-03 17:02:04 +02:00
|
|
|
on: [push, pull_request]
|
2020-01-12 11:58:42 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-10-25 11:37:57 +00:00
|
|
|
runs-on: docker
|
2020-01-12 11:58:42 +02:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-05-08 21:32:33 +03:00
|
|
|
node-version: [18.16]
|
2020-01-12 11:58:42 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: npm install, lint, code style check
|
|
|
|
run: |
|
|
|
|
npm ci
|
|
|
|
npm run lint
|
|
|
|
npm run codestyle-check
|