From b3430480d960bbb19b9ab2babb914af099e2950f Mon Sep 17 00:00:00 2001 From: Thorn Walli Date: Sun, 11 Feb 2024 13:10:28 +0100 Subject: [PATCH] ci(next): disabled playground --- .github/workflows/next.yml | 142 ++++++++++++++++++------------------- 1 file changed, 71 insertions(+), 71 deletions(-) diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index d956839945..e2357497fc 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -72,39 +72,39 @@ jobs: run: | npx -p pinst -p @nuxt/module-builder -p semantic-release -p @semantic-release/git -p @semantic-release/changelog -p @semantic-release/exec -p @semantic-release/github semantic-release --provider=github --debug=true - build-playground: - name: Build (Playground) - needs: semantic-version - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [ubuntu-latest] - node: [20] - - steps: - - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node }} - - name: Checkout Repo - uses: actions/checkout@v4 - - name: cache node_modules - uses: actions/cache@v4 - id: cache - with: - path: node_modules - key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }} - - name: Build - run: | - npm run generate - touch dist/.nojekyll - env: - BASE_URL: /playground/ - - name: Archive Production Artifact - uses: actions/upload-artifact@master - with: - name: playgroundArtifact - path: dist + # build-playground: + # name: Build (Playground) + # needs: semantic-version + # runs-on: ${{ matrix.os }} + + # strategy: + # matrix: + # os: [ubuntu-latest] + # node: [20] + + # steps: + # - uses: actions/setup-node@v4 + # with: + # node-version: ${{ matrix.node }} + # - name: Checkout Repo + # uses: actions/checkout@v4 + # - name: cache node_modules + # uses: actions/cache@v4 + # id: cache + # with: + # path: node_modules + # key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }} + # - name: Build + # run: | + # npm run generate + # touch dist/.nojekyll + # env: + # BASE_URL: /playground/ + # - name: Archive Production Artifact + # uses: actions/upload-artifact@master + # with: + # name: playgroundArtifact + # path: dist build-docs: @@ -144,7 +144,7 @@ jobs: deploy-ghpages: name: Deploy (GH-Pages) - needs: [build-playground, build-docs] + needs: [build-docs] runs-on: ${{ matrix.os }} strategy: matrix: @@ -156,11 +156,11 @@ jobs: with: name: docsArtifact path: public/docs - - name: Download Artifact (Playground) - uses: actions/download-artifact@master - with: - name: playgroundArtifact - path: public/docs/playground + # - name: Download Artifact (Playground) + # uses: actions/download-artifact@master + # with: + # name: playgroundArtifact + # path: public/docs/playground - name: Download Artifact (Sitespeed) uses: actions/download-artifact@master with: @@ -174,35 +174,35 @@ jobs: cname: nuxt-speedkit.grabarzundpartner.dev keep_files: true - sitespeed: - needs: deploy-ghpages - runs-on: ${{ matrix.os }} - name: Running sitespeed.io - - strategy: - matrix: - os: [ubuntu-latest] - node: [20] - - steps: - - name: docker pull - run: | - docker pull sitespeedio/sitespeed.io:20.0.0 - - name: Checkout Repo - uses: actions/checkout@v4 - - name: Start throttle 3g - run: | - npm install @sitespeed.io/throttle -g - throttle 3g - - name: Running sitespeed.io container with arguments and optional Docker options - run: | - docker run -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:20.0.0 https://nuxt-speedkit.grabarzundpartner.dev/playground/ --budget.configPath .github/budgets/sitespeed.json -n 3 -b chrome --mobile --summary-detail --outputFolder sitespeed-report/nuxt-speedkit - - name: Stop throttle 3g - run: | - npm install @sitespeed.io/throttle -g - throttle stop - - name: Archive Sitespeed Report - uses: actions/upload-artifact@master - with: - name: sitespeedReportArtifact - path: sitespeed-report + # sitespeed: + # needs: deploy-ghpages + # runs-on: ${{ matrix.os }} + # name: Running sitespeed.io + + # strategy: + # matrix: + # os: [ubuntu-latest] + # node: [20] + + # steps: + # - name: docker pull + # run: | + # docker pull sitespeedio/sitespeed.io:20.0.0 + # - name: Checkout Repo + # uses: actions/checkout@v4 + # - name: Start throttle 3g + # run: | + # npm install @sitespeed.io/throttle -g + # throttle 3g + # - name: Running sitespeed.io container with arguments and optional Docker options + # run: | + # docker run -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:20.0.0 https://nuxt-speedkit.grabarzundpartner.dev/playground/ --budget.configPath .github/budgets/sitespeed.json -n 3 -b chrome --mobile --summary-detail --outputFolder sitespeed-report/nuxt-speedkit + # - name: Stop throttle 3g + # run: | + # npm install @sitespeed.io/throttle -g + # throttle stop + # - name: Archive Sitespeed Report + # uses: actions/upload-artifact@master + # with: + # name: sitespeedReportArtifact + # path: sitespeed-report