From 75dcc1ada7f0f726761f8a19757bf25ad9c2c093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Wed, 20 Oct 2021 21:29:56 +0200 Subject: [PATCH] [Remove this commit] Get rid of all other CI jobs --- .github/workflows/browserstack.yml | 37 ----------------------- .github/workflows/bundlewatch.yml | 37 ----------------------- .github/workflows/codeql.yml | 37 ----------------------- .github/workflows/css.yml | 31 ------------------- .github/workflows/docs.yml | 33 --------------------- .github/workflows/js.yml | 46 ----------------------------- .github/workflows/lint.yml | 31 ------------------- .github/workflows/node-sass.yml | 30 ------------------- .github/workflows/release-notes.yml | 15 ---------- 9 files changed, 297 deletions(-) delete mode 100644 .github/workflows/browserstack.yml delete mode 100644 .github/workflows/bundlewatch.yml delete mode 100644 .github/workflows/codeql.yml delete mode 100644 .github/workflows/css.yml delete mode 100644 .github/workflows/docs.yml delete mode 100644 .github/workflows/js.yml delete mode 100644 .github/workflows/lint.yml delete mode 100644 .github/workflows/node-sass.yml delete mode 100644 .github/workflows/release-notes.yml diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml deleted file mode 100644 index 6a84597e9ecc..000000000000 --- a/.github/workflows/browserstack.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: BrowserStack - -on: - push: - -env: - FORCE_COLOR: 2 - NODE: 16 - -jobs: - browserstack: - runs-on: ubuntu-latest - if: github.repository == 'twbs/bootstrap' && (!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')) - timeout-minutes: 30 - - steps: - - name: Clone repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: "${{ env.NODE }}" - cache: npm - - - name: Install npm dependencies - run: npm ci - - - name: Run dist - run: npm run dist - - - name: Run BrowserStack tests - run: npm run js-test-cloud - env: - BROWSER_STACK_ACCESS_KEY: "${{ secrets.BROWSER_STACK_ACCESS_KEY }}" - BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}" - GITHUB_SHA: "${{ github.sha }}" diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml deleted file mode 100644 index e895f126fc90..000000000000 --- a/.github/workflows/bundlewatch.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Bundlewatch - -on: - push: - branches-ignore: - - "dependabot/**" - pull_request: - -env: - FORCE_COLOR: 2 - NODE: 16 - -jobs: - bundlewatch: - runs-on: ubuntu-latest - - steps: - - name: Clone repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: "${{ env.NODE }}" - cache: npm - - - name: Install npm dependencies - run: npm ci - - - name: Run dist - run: npm run dist - - - name: Run bundlewatch - run: npm run bundlewatch - env: - BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}" - CI_BRANCH_BASE: main diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index de6626a1566f..000000000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: "CodeQL" - -on: - push: - branches: - - main - - v4-dev - - "!dependabot/**" - pull_request: - # The branches below must be a subset of the branches above - branches: - - main - - v4-dev - - "!dependabot/**" - schedule: - - cron: "0 2 * * 5" - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: "javascript" - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml deleted file mode 100644 index 71e6042b494e..000000000000 --- a/.github/workflows/css.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: CSS - -on: - push: - branches-ignore: - - "dependabot/**" - pull_request: - -env: - FORCE_COLOR: 2 - NODE: 16 - -jobs: - css: - runs-on: ubuntu-latest - - steps: - - name: Clone repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: "${{ env.NODE }}" - cache: npm - - - name: Install npm dependencies - run: npm ci - - - name: Build CSS - run: npm run css diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 8bdcf9671fd9..000000000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Docs - -on: - push: - branches-ignore: - - "dependabot/**" - pull_request: - -env: - FORCE_COLOR: 2 - NODE: 16 - -jobs: - docs: - runs-on: ubuntu-latest - - steps: - - name: Clone repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: "${{ env.NODE }}" - cache: npm - - - run: java -version - - - name: Install npm dependencies - run: npm ci - - - name: Test docs - run: npm run docs diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml deleted file mode 100644 index 1f03d8cc516a..000000000000 --- a/.github/workflows/js.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: JS Tests - -on: - push: - branches-ignore: - - "dependabot/**" - pull_request: - -env: - FORCE_COLOR: 2 - -jobs: - run: - name: Node ${{ matrix.node }} - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - node: [12, 14, 16] - - steps: - - name: Clone repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node }} - cache: npm - - - name: Install npm dependencies - run: npm ci - - - name: Run dist - run: npm run js - - - name: Run JS tests - run: npm run js-test - - - name: Run Coveralls - uses: coverallsapp/github-action@1.1.3 - if: matrix.node == 16 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" - path-to-lcov: "./js/coverage/lcov.info" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index aef1341edd09..000000000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Lint - -on: - push: - branches-ignore: - - "dependabot/**" - pull_request: - -env: - FORCE_COLOR: 2 - NODE: 16 - -jobs: - lint: - runs-on: ubuntu-latest - - steps: - - name: Clone repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: "${{ env.NODE }}" - cache: npm - - - name: Install npm dependencies - run: npm ci - - - name: Lint - run: npm run lint diff --git a/.github/workflows/node-sass.yml b/.github/workflows/node-sass.yml deleted file mode 100644 index 36c4e1c18089..000000000000 --- a/.github/workflows/node-sass.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: CSS (node-sass) - -on: - push: - branches-ignore: - - "dependabot/**" - pull_request: - -env: - FORCE_COLOR: 2 - NODE: 16 - -jobs: - css: - runs-on: ubuntu-latest - - steps: - - name: Clone repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: "${{ env.NODE }}" - - - name: Build CSS with node-sass - run: | - npx --package node-sass@latest node-sass --version - npx --package node-sass@latest node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist-sass/css/ - ls -Al dist-sass/css diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml deleted file mode 100644 index ab2f37694dcc..000000000000 --- a/.github/workflows/release-notes.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Release notes - -on: - push: - branches: - - main - -jobs: - update_release_draft: - runs-on: ubuntu-latest - if: github.repository == 'twbs/bootstrap' - steps: - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}