From 55aaea6e467d0514ce87313bc71a554979303de4 Mon Sep 17 00:00:00 2001 From: Mathieu Huchet Date: Tue, 5 Nov 2024 10:36:02 +0100 Subject: [PATCH] remove online playground --- .github/workflows/pr-playground.yml | 91 ----------------------------- index.html | 7 --- 2 files changed, 98 deletions(-) delete mode 100644 .github/workflows/pr-playground.yml diff --git a/.github/workflows/pr-playground.yml b/.github/workflows/pr-playground.yml deleted file mode 100644 index bc84c921a6..0000000000 --- a/.github/workflows/pr-playground.yml +++ /dev/null @@ -1,91 +0,0 @@ -name: PR playground CI - -on: - pull_request: - push: - branches: [master] - -# This allows a subsequently queued workflow run to interrupt previous runs -concurrency: - group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' - cancel-in-progress: true - -permissions: - contents: read - deployments: read - pull-requests: write # needed to write comment in PR - statuses: write - -jobs: - build: - runs-on: ubuntu-latest - name: Build and deploy playground - environment: pull_request_unsafe - - steps: - - name: Checkout sources - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7 - - - name: Use Node.js - uses: ./.github/actions/setup-node - - - - name: Install and build playground - id: build - run: | - yarn install --frozen-lockfile - yarn global add surge - echo "$(yarn global bin)" >> $GITHUB_PATH - yarn pre-release - yarn workspace @talend/ui-playground run test:demo:umd - - - name: deploy if master - if: github.ref == 'refs/heads/master' - run: | - rm -rf .static - mkdir .static - mkdir .static/playground - cp -R packages/playground/dist/* .static/playground - surge --project .static --domain "talend-playground.surge.sh" - env: - SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }} - SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} - - - name: deploy if PR - if: github.ref != 'refs/heads/master' - run: | - rm -rf .static - mkdir .static - mkdir .static/playground - cp -R packages/playground/dist/* .static/playground - surge --project .static --domain "${{ github.event.number }}.talend-playground.surge.sh" - env: - SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }} - SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} - - check: - runs-on: ubuntu-latest - name: Check size - environment: pull_request_unsafe - - steps: - - name: Checkout sources - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7 - - - name: Use Node.js - uses: ./.github/actions/setup-node - - - name: Check node version - run: | - node --version - - - name: Check UMD files size diff - uses: preactjs/compressed-size-action@f780fd104362cfce9e118f9198df2ee37d12946c #v2.6.0 - if: github.ref != 'refs/heads/master' - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - build-script: "pre-release" - pattern: "./packages/*/dist/*.{js,css,json}" - exclude: "{**/*.html,**/*.map,**/node_modules/**}" - compression: "none" - minimum-change-threshold: 100 diff --git a/index.html b/index.html index 98207f10fa..4d50ad3728 100644 --- a/index.html +++ b/index.html @@ -233,13 +233,6 @@

Containers

/> - -
- -

Playground

-

A simple CMF App with some containers to test integration.

-
-