Bump @sap/cds-dk in the development-dependencies group (#25) #45
This file contains hidden or 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: Cloud Foundry | |
| on: | |
| workflow_call: | |
| inputs: | |
| cf-api: | |
| description: 'Cloud Foundry API endpoint' | |
| required: false | |
| type: string | |
| cf-org: | |
| description: 'Cloud Foundry organization' | |
| required: false | |
| type: string | |
| cf-space: | |
| description: 'Cloud Foundry space' | |
| required: false | |
| type: string | |
| environment: | |
| description: 'Deployment environment name' | |
| required: true | |
| type: string | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| deployments: write | |
| concurrency: | |
| group: cf-${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| APP_NAME: samples | |
| FORCE_COLOR: true | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - uses: ./.github/actions/cf-setup | |
| with: | |
| cf-api: ${{ inputs.cf-api || vars.CF_API }} | |
| cf-org: ${{ inputs.cf-org || vars.CF_ORG }} | |
| cf-space: ${{ inputs.cf-space || vars.CF_SPACE }} | |
| cf-username: ${{ vars.CF_USERNAME }} | |
| cf-password: ${{ secrets.CF_PASSWORD }} | |
| - run: npm clean-install | |
| - run: npx cds up | |
| - uses: ./.github/actions/cf-github-deploy | |
| with: | |
| app-name: ${{ env.APP_NAME }} | |
| environment: ${{ inputs.environment || 'Staging' }} | |
| - run: cf logs ${{ env.APP_NAME }} --recent | |
| if: always() | |
| - run: cf logs orders-srv --recent | |
| if: always() | |
| - run: cf logs reviews-srv --recent | |
| if: always() | |
| - run: cf logs bookstore-srv --recent | |
| if: always() | |
| - run: cf logs ${{ env.APP_NAME }}-db-deployer --recent | |
| if: always() |