Skip to content

build(deps-dev): bump typescript from 5.4.5 to 5.7.2 #391

build(deps-dev): bump typescript from 5.4.5 to 5.7.2

build(deps-dev): bump typescript from 5.4.5 to 5.7.2 #391

Workflow file for this run

name: Preview
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
concurrency:
group: preview-${{ github.event.pull_request.number }}
jobs:
storybook:
name: Storybook
if: ${{ github.event.pull_request.state == 'open' && github.actor != 'dependabot[bot]'}}
uses: ./.github/workflows/storybook.yml
secrets: inherit
build:
needs: storybook
name: Docker
uses: ./.github/workflows/docker.yml
secrets: inherit
deploy:
needs: build
name: Deploy Preview
uses: ./.github/workflows/deploy.yml
secrets: inherit
with:
environment: preview-${{ github.event.pull_request.number }}
host: webcomponents-preview-${{ github.event.pull_request.number }}.adeliom.io
branch: pr-${{ github.event.pull_request.number }}
cleanup:
name: Cleanup
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.state == 'closed' && github.actor != 'dependabot[bot]' }}
continue-on-error: true
steps:
- name: Setup Helm
uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup kubectl
uses: azure/setup-kubectl@v4
- name: Configure kubectl
run: |
mkdir -p ~/.kube/
echo "${{ secrets.KUBECONFIG }}" > ~/.kube/config
- name: Cleanup Kubernetes
run: helm uninstall --wait adeliom-webcomponents-preview-${{ github.event.pull_request.number }} --namespace adeliom-webcomponents