This commit is contained in:
@@ -10,11 +10,25 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout
|
||||||
- uses: actions/setup-node@v4
|
run: |
|
||||||
with:
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git /tmp/repo
|
||||||
node-version: '18'
|
cd /tmp/repo
|
||||||
- run: npm ci
|
- name: Setup Node
|
||||||
- run: npm run lint
|
run: |
|
||||||
- run: npm run typecheck
|
cd /tmp/repo
|
||||||
- run: npm test
|
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -E -
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user