Lib upgrade #39
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, pull_request] | |
env: | |
npm_config_engine_strict: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout a dependent project | |
- uses: actions/checkout@v2 | |
with: | |
repository: tstibbs/cloud-core | |
path: 'cloud-core' # will resolve to /home/runner/work/smart-home-integration/smart-home-integration/cloud-core | |
# checkout 'this' project | |
- uses: actions/checkout@v2 | |
with: | |
path: 'smart-home-integration' # will resolve to /home/runner/work/smart-home-integration/smart-home-integration/smart-home-integration | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Set up environment | |
run: mkdir cdk.tmp | |
working-directory: smart-home-integration | |
- name: Load cloud-core dependencies | |
run: npm ci | |
working-directory: cloud-core/aws/utils | |
- run: npm ci | |
working-directory: smart-home-integration | |
- run: npm run testsynth | |
working-directory: smart-home-integration | |
- run: npm run test | |
working-directory: smart-home-integration | |
# don't run the actual deploy in the CI, but run everything up to here to get the best idea of whether it works |