Simplify CI workflow
Some checks failed
CI / test (push) Failing after 45s

This commit is contained in:
2026-02-05 19:40:43 +00:00
parent 7661f3b395
commit 8fdfed5927

View File

@@ -1,34 +1,15 @@
name: CI name: CI
on: on: [push, pull_request]
push:
branches: [main]
pull_request:
branches: [main]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - run: |
run: |
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git /tmp/repo git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git /tmp/repo
cd /tmp/repo cd /tmp/repo
- name: Setup Node npm install
run: | npm run lint
cd /tmp/repo npm run typecheck
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -E - npm test
apt-get install -y nodejs
- name: Install
run: |
cd /tmp/repo
npm ci
- name: Lint
run: npm run lint
working-directory: /tmp/repo
- name: Typecheck
run: npm run typecheck
working-directory: /tmp/repo
- name: Test
run: npm test
working-directory: /tmp/repo