Merge pull request #25 from 51ngul4r1ty/tech/000307/add-api-types-to-… #92
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Node & NPM versions | |
run: | | |
echo Node Version | |
node --version | |
echo | |
echo NPM Version | |
npm --version | |
echo | |
- name: Install NPM packages | |
run: npm ci -ws | |
- name: Build Rich Types Package | |
run: | | |
echo Building... | |
npm run build-pkg:rich-types | |
- name: Build Client SDK | |
run: | | |
echo Building... | |
npm run build-pkg:client-sdk | |
- name: Build Shared Package | |
run: | | |
echo Building... | |
npm run build-pkg:shared | |
- name: Build VS Code Extension | |
run: | | |
echo Building... | |
npm run build-pkg:extension | |
- name: Build Web App | |
run: | | |
echo Building... | |
npm run build-pkg:web-app |