Skip to content

Commit

Permalink
ci(next): disbled playground
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Feb 11, 2024
1 parent 5c9700d commit 6f3d4ab
Showing 1 changed file with 60 additions and 61 deletions.
121 changes: 60 additions & 61 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ 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:
# build-playground:
name: Build (Playground)
needs: semantic-version
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -155,11 +155,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: Deploy to GH-Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand All @@ -168,58 +168,57 @@ jobs:
cname: nuxt-speedkit.grabarzundpartner.dev
keep_files: true


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

deploy-ghpages-report:
name: Deploy (GH-Pages Report)
needs: [report-sitespeed]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
steps:
- name: Download Artifact (Sitespeed)
uses: actions/download-artifact@master
with:
name: sitespeedReportArtifact
path: public/docs/reports/sitespeed
- name: Deploy to GH-Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public
cname: nuxt-speedkit.grabarzundpartner.dev
keep_files: true
# 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

# deploy-ghpages-report:
# name: Deploy (GH-Pages Report)
# needs: [report-sitespeed]
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest]
# node: [20]
# steps:
# - name: Download Artifact (Sitespeed)
# uses: actions/download-artifact@master
# with:
# name: sitespeedReportArtifact
# path: public/docs/reports/sitespeed
# - name: Deploy to GH-Pages
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: public
# cname: nuxt-speedkit.grabarzundpartner.dev
# keep_files: true

0 comments on commit 6f3d4ab

Please sign in to comment.