24 lines
576 B
YAML
24 lines
576 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
git clone --depth=1 --no-single-branch https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git .
|
|
- name: Install Node
|
|
run: |
|
|
apt-get update -qq
|
|
apt-get install -y -qq nodejs npm > /dev/null 2>&1
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
- name: Lint
|
|
run: npm run lint
|
|
- name: Typecheck
|
|
run: npm run typecheck
|
|
- name: Test
|
|
run: npm test
|