chore(deps): update dependency @distr-sh/distr-sdk to v2.20.1 #167
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: Integration Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-action: | |
| name: GitHub Actions Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| id: checkout | |
| uses: actions/checkout@v6 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| with: | |
| version: 10 | |
| - name: Setup Node.js | |
| id: setup-node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.13 | |
| cache: pnpm | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Install Dependencies | |
| id: install | |
| run: pnpm i | |
| - name: Build dist/ Directory | |
| id: build | |
| run: pnpm run bundle | |
| - name: Create Distr Version | |
| id: distr-create-version | |
| uses: ./ | |
| with: | |
| api-base: ${{ vars.DISTR_API_BASE }} | |
| api-token: ${{ secrets.DISTR_TOKEN }} | |
| application-id: ${{ vars.DISTR_APPLICATION_ID }} | |
| version-name: ${{ github.sha }}-${{ github.run_id }} | |
| link-template: 'http://localhost' | |
| compose-file: ${{ github.workspace }}/action.yml | |
| # chart-type: 'oci' | |
| # chart-url: oci://ghcr.io/stefanprodan/charts/podinfo | |
| # chart-version: 'v7.0.0' | |
| # base-values-file: ${{ github.workspace }}/.prettierrc.yml | |
| template-file: ${{ github.workspace }}/.env.example | |
| resources: | | |
| [ | |
| { | |
| "name": "Inline Resource", | |
| "content": "# Test Resource\n\nThis resource was created by the integration test.", | |
| "visibleToCustomers": true | |
| }, | |
| { | |
| "name": "File Resource", | |
| "path": "${{ github.workspace }}/.env.example", | |
| "visibleToCustomers": false | |
| } | |
| ] | |
| update-deployments: false | |
| - name: Print Application Version ID | |
| id: output | |
| run: echo "${{ steps.distr-create-version.outputs.created-version-id }}" |