diff --git a/.github/workflows/cd-deploy-cdn.yml b/.github/workflows/cd-deploy-cdn.yml deleted file mode 100644 index 75e912f9e09..00000000000 --- a/.github/workflows/cd-deploy-cdn.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Deploy CDN - -on: - push: - branches: - - master - -jobs: - deploy_linux: - runs-on: ubuntu-latest - - steps: - - name: Checkout Branch - uses: actions/checkout@master - - - name: Upload static assets to CDN - uses: lauchacarro/Azure-Storage-Action@master - with: - folder: 'sites/site-utilities/statics/assets' - connection-string: ${{ secrets.AZURE_CONNECTION_STRING_STORAGE }} - public-access-policy: Blob - blob-container-name: 'assets' - - notify: - runs-on: ubuntu-latest - needs: deploy_linux - - steps: - - name: Notify on Discord - uses: appleboy/discord-action@master - with: - webhook_id: ${{ secrets.DISCORD_NOTIFICATION_WEBHOOK_ID }} - webhook_token: ${{ secrets.DISCORD_NOTIFICATION_WEBHOOK_TOKEN }} - color: '#DE2D6D' - username: 'FAST DevOps CDN Bot' - message: 'Deployment has completed to CDN on https://github.com/microsoft/fast/actions/workflows/cd-deploy-cdn.yml' diff --git a/.github/workflows/ci-validate-benchmarks.yml b/.github/workflows/ci-validate-benchmarks.yml deleted file mode 100644 index 4bc2c5edaf9..00000000000 --- a/.github/workflows/ci-validate-benchmarks.yml +++ /dev/null @@ -1,254 +0,0 @@ -name: Validate Benchmarks - -on: - pull_request: - branches: - - master - - releases/* - - features/* - paths: - - 'packages/web-components/fast-element/**' - -jobs: - setup: - name: Setup Tachometer Reporting - runs-on: ubuntu-latest - - steps: - - name: Initialize tachometer comment - uses: andrewiggins/tachometer-reporter-action@v2 - with: - initialize: true - - render_create10k: - name: Run rendering benchmark with create 10k elements operation - needs: [setup] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v1 - with: - node-version: "16.x" - - - name: Run tachometer and generate results file - run: | - cd packages/utilities/fast-benchmarks - yarn install - yarn run benchmark --library=fast-element --benchmark=render --versions master ${GITHUB_HEAD_REF} --operations=create10k - - - name: Upload results - uses: actions/upload-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/fast-element-render-create10k.json - - render_update10th: - name: Run rendering benchmark with update 10th operation - needs: [setup] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v1 - with: - node-version: "16.x" - - - name: Run tachometer and generate results file - run: | - cd packages/utilities/fast-benchmarks - yarn install - yarn run benchmark --library=fast-element --benchmark=render --versions master ${GITHUB_HEAD_REF} --operations=update10th - - - name: Upload results - uses: actions/upload-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/fast-element-render-update10th.json - - render_createDelete5x: - name: Run rendering benchmark with create and delete 5 times operation - needs: [setup] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v1 - with: - node-version: "16.x" - - - name: Run tachometer and generate results file - run: | - cd packages/utilities/fast-benchmarks - yarn install - yarn run benchmark --library=fast-element --benchmark=render --versions master ${GITHUB_HEAD_REF} --operations=createDelete5x - - - name: Upload results - uses: actions/upload-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/fast-element-render-createDelete5x.json - - observable_run1k: - name: Run observable benchmark with decorator 1k times - needs: [setup] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v1 - with: - node-version: "16.x" - - - name: Run tachometer and generate results file - run: | - cd packages/utilities/fast-benchmarks - yarn install - yarn run benchmark --library=fast-element --benchmark=observable --versions master ${GITHUB_HEAD_REF} --operations=runFile1k - - - name: Upload results - uses: actions/upload-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/fast-element-observable-runFile1k.json - - repeat_reverse: - name: Run repeat benchmark with nested template, reverse method - needs: [setup] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v1 - with: - node-version: "16.x" - - - name: Run tachometer and generate results file - run: | - cd packages/utilities/fast-benchmarks - yarn install - yarn run benchmark --library=fast-element --benchmark=repeat --versions master ${GITHUB_HEAD_REF} --templates nested --method=reverse --operations=clickTrigger10x --queryParam itemCount=100 - - - name: Upload results - uses: actions/upload-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/fast-element-repeat-reverse_clickTrigger10x.json - - repeat_push: - name: Run repeat benchmark with nested template, push method - needs: [setup] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v1 - with: - node-version: "16.x" - - - name: Run tachometer and generate results file - run: | - cd packages/utilities/fast-benchmarks - yarn install - yarn run benchmark --library=fast-element --benchmark=repeat --versions master ${GITHUB_HEAD_REF} --templates nested --method=push --operations=clickTrigger10x --queryParam itemCount=100 addCount=20 - - - name: Upload results - uses: actions/upload-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/fast-element-repeat-push_clickTrigger10x.json - - repeat_unshift: - name: Run repeat benchmark with nested template, unshift method - needs: [setup] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v1 - with: - node-version: "16.x" - - - name: Run tachometer and generate results file - run: | - cd packages/utilities/fast-benchmarks - yarn install - yarn run benchmark --library=fast-element --benchmark=repeat --versions master ${GITHUB_HEAD_REF} --templates nested --method=unshift --operations=clickTrigger10x --queryParam itemCount=100 addCount=20 - - - name: Upload results - uses: actions/upload-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/fast-element-repeat-unshift_clickTrigger10x.json - - repeat_shift: - name: Run repeat benchmark with nested template, shift method - needs: [setup] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v1 - with: - node-version: "16.x" - - - name: Run tachometer and generate results file - run: | - cd packages/utilities/fast-benchmarks - yarn install - yarn run benchmark --library=fast-element --benchmark=repeat --versions master ${GITHUB_HEAD_REF} --templates nested --method=shift --operations=clickTrigger10x --queryParam itemCount=100 - - - name: Upload results - uses: actions/upload-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/fast-element-repeat-shift_clickTrigger10x.json - - repeat_splice: - name: Run repeat benchmark with basic template, splice method - needs: [setup] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v1 - with: - node-version: "16.x" - - - name: Run tachometer and generate results file - run: | - cd packages/utilities/fast-benchmarks - yarn install - yarn run benchmark --library=fast-element --benchmark=repeat --versions master ${GITHUB_HEAD_REF} --templates basic --method=splice --operations=clickTrigger10x --queryParam itemCount=1000 deleteCount=20 addCount=20 - - - name: Upload results - uses: actions/upload-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/fast-element-repeat-splice_clickTrigger10x.json - - report_results: - name: Report Results - needs: [render_create10k, render_update10th, render_createDelete5x, observable_run1k, repeat_reverse, repeat_push, repeat_unshift, repeat_shift, repeat_splice] - runs-on: ubuntu-latest - - steps: - - uses: actions/download-artifact@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results - - - name: Report Tachometer Result - uses: andrewiggins/tachometer-reporter-action@v2 - with: - name: results - path: packages/utilities/fast-benchmarks/results/*.json