diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53581af..8dd0d54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: - name: Set up node uses: actions/setup-node@v4 with: - node-version: '14.x' + node-version: 22 - name: Install cdk run: npm install -g @@ -97,7 +97,7 @@ jobs: # Build and deploy to the development environment whenever there is a push to main or dev - name: Build & Deploy Development if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' - run: npm run cdk -- deploy titiler-cmr-staging --require-approval never + run: npx cdk -- deploy titiler-cmr-staging --require-approval never env: # STACK_ALARM_EMAIL: ${{ secrets.ALARM_EMAIL }} STACK_ROLE_ARN: ${{ secrets.lambda_role_arn }} @@ -107,7 +107,7 @@ jobs: # Build and deploy to production deployment whenever there a new tag is pushed - name: Build & Deploy Production if: startsWith(github.ref, 'refs/tags/v') - run: npm run cdk -- deploy titiler-cmr-production --require-approval never + run: npx cdk -- deploy titiler-cmr-production --require-approval never env: # STACK_ALARM_EMAIL: ${{ secrets.ALARM_EMAIL }} STACK_ROLE_ARN: ${{ secrets.lambda_role_arn }}