Update CI with Node setup
Some checks failed
CI / test (push) Failing after 2m51s

This commit is contained in:
2026-02-05 19:42:19 +00:00
parent 8fdfed5927
commit bbb45e054d

View File

@@ -6,10 +6,18 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- run: |
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git /tmp/repo
cd /tmp/repo
npm install
npm run lint
npm run typecheck
npm test
- name: Checkout
run: git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git ${{ github.workspace }}
- name: Setup Node
run: |
apt-get update && apt-get install -y nodejs npm
node --version
npm --version
- name: Install
run: npm install
- name: Lint
run: npm run lint
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm test