Skip to content

Merge branch 'next' of https://github.com/moleculerjs/moleculer-templ… #9

Merge branch 'next' of https://github.com/moleculerjs/moleculer-templ…

Merge branch 'next' of https://github.com/moleculerjs/moleculer-templ… #9

Workflow file for this run

name: TypeScript Type Check
on:
push: {}
pull_request: {}
jobs:
typecheck:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Generate demo project for testing
run: node_modules/.bin/moleculer init --answers test/ci/answers.full.json --no-install . tmp-typecheck-project
- name: Install dependencies in generated project
run: npm install
working-directory: ./tmp-typecheck-project
- name: Run TypeScript type checking
run: npm run typecheck
working-directory: ./tmp-typecheck-project