This commit is contained in:
@@ -5,16 +5,24 @@ on: [push, pull_request]
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: node:18-bullseye
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout code
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git .
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git repo
|
||||||
- name: Install
|
cd repo
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 18
|
||||||
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
working-directory: repo
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
working-directory: repo
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: npm run typecheck
|
run: npm run typecheck
|
||||||
|
working-directory: repo
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm test
|
run: npm test
|
||||||
|
working-directory: repo
|
||||||
|
|||||||
Reference in New Issue
Block a user