Bump ts-morph from 16.0.0 to 20.0.0 #201
Workflow file for this run
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: | |
branches: | |
- 'master' | |
pull_request: | |
jobs: | |
packages: | |
name: Packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: actions/checkout@v2 | |
- run: SKIP_GENAPI=1 npm ci | |
genApi: | |
name: Generate APIs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: actions/checkout@v2 | |
- run: SKIP_GENAPI=1 npm ci | |
- run: npm run postinstall | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: apis | |
path: ./src/lib/apis/generated | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: [packages, genApi] | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: actions/checkout@v2 | |
- run: SKIP_GENAPI=1 npm ci | |
- uses: actions/download-artifact@v2 | |
with: | |
name: apis | |
path: ./src/lib/apis/generated | |
- run: npm run build | |
env: | |
NODE_ENV: production | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
needs: [packages, genApi] | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: actions/checkout@v2 | |
- run: SKIP_GENAPI=1 npm ci | |
- uses: actions/download-artifact@v2 | |
with: | |
name: apis | |
path: ./src/lib/apis/generated | |
- run: npm run lint | |
typeCheck: | |
name: Type Check | |
runs-on: ubuntu-latest | |
needs: [packages, genApi] | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: actions/checkout@v2 | |
- run: SKIP_GENAPI=1 npm ci | |
- uses: actions/download-artifact@v2 | |
with: | |
name: apis | |
path: ./src/lib/apis/generated | |
- run: npm run type-check |