Merge pull request #3642 from thyttan/dtlaunch #7221
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install testing dependencies | |
run: npm ci | |
- name: Test all apps and widgets | |
run: npm test | |
- name: Install typescript dependencies | |
working-directory: ./typescript | |
run: npm ci | |
- name: Build all TS apps and widgets | |
working-directory: ./typescript | |
run: npm run build |