Skip to content

Moving to node 20 + lib upgrade #40

Moving to node 20 + lib upgrade

Moving to node 20 + lib upgrade #40

Workflow file for this run

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: 20.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