1
0
Fork 0
BangleApps/.github/workflows/nodejs.yml

28 lines
625 B
YAML
Raw Normal View History

name: Node CI
2022-01-20 20:00:04 +00:00
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
2021-12-08 19:23:14 +00:00
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
2021-12-10 20:51:35 +00:00
- name: npm ci
working-directory: ./typescript
run: npm ci
2021-12-08 19:23:14 +00:00
- name: build types
2021-12-10 20:51:35 +00:00
working-directory: ./typescript
2021-12-10 21:45:10 +00:00
run: npm run build:types
2021-12-10 20:51:35 +00:00
- name: build all TS apps
working-directory: ./typescript
2021-12-10 21:45:10 +00:00
run: npm run build:apps