Skip to content

ci: Use zip deploy for http and monitor lambdas #28

ci: Use zip deploy for http and monitor lambdas

ci: Use zip deploy for http and monitor lambdas #28

########################################
# THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT MODIFY
########################################
name: "on Push: CI"
on:
push:
branches:
- main
env:
NPM_REGISTRY_PROTOCOL: https
NPM_REGISTRY_HOST: npm.pkg.github.com
jobs:
build:
name: Compile, Lint and Test all workspace packages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node 22.12.0
uses: actions/setup-node@v4
with:
node-version: 22.12.0
registry-url: ${{ env.NPM_REGISTRY_PROTOCOL }}://${{ env.NPM_REGISTRY_HOST }}
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
scope: "@levicape"
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- id: cache-npm
name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-build-npm-node-modules-${{ hashFiles('**/pnpm-lock.json') }}
restore-keys: ${{ runner.os }}-build-npm-node-modules-
- name: Get pnpm store directory
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV;
- id: cache-pnpm-store
name: Cache pnpm files
uses: actions/cache@v3
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.json') }}
restore-keys: ${{ runner.os }}-pnpm-store-
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List Dependencies
continue-on-error: true
run: pnpm list;
- name: Install Dependencies
run: pnpm install;
- name: Compile
run: pnpx nx run-many -t build --parallel=1 --verbose --no-cloud;
- name: Lint
run: pnpx nx run-many -t lint --parallel=1 --verbose --no-cloud;
- name: Test
run: pnpx nx run-many -t test --parallel=1 --verbose --no-cloud;
########################################
########################################
#**:_$~- {"$$":"head","filename":"[push(b:main)]CI.yml","source":"iac/workflows/github/push/CI.js"}
#**:_$~- {"$$":"script","generator":"codegen/github/GenerateGithubWorkflow.mjs"}
#**:_$~- {"$$":"body","hashed":"9cf4dd29e99bb4a9384ee062b7ed7bafd69ca33f8141dae644293ea97282245c"}
#**:_$~- {"$$":"footer","started":"2025-01-20T04:15:51.416Z","now":"2025-01-20T04:15:51.420Z","elapsed":"4ms"}
# END OF GENERATED FILE