From 9bf9ff2d92f078db22db1f034a676148296a84f6 Mon Sep 17 00:00:00 2001 From: shaggytech Date: Sun, 7 May 2023 10:22:37 -0500 Subject: [PATCH] ci: remove old github actions workflows --- .github/workflows/deploy-docs.yml | 29 ---------------- .github/workflows/deployment.yml | 56 ------------------------------- .github/workflows/development.yml | 50 --------------------------- .github/workflows/master.yml | 44 ------------------------ 4 files changed, 179 deletions(-) delete mode 100644 .github/workflows/deploy-docs.yml delete mode 100644 .github/workflows/deployment.yml delete mode 100644 .github/workflows/development.yml delete mode 100644 .github/workflows/master.yml diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100644 index 8ef0960b9..000000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Deploy Packages and Documentation - -on: - push: - branches: - - main - -jobs: - deploy-docs: - name: Deploy docs from main branch to github pages - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup - uses: ./.github/workflows/setup - - - name: Build - run: pnpm build - - - name: Deploy to Github Pages - uses: JamesIves/github-pages-deploy-action@v4 - with: - folder: apps/docs/src/.vitepress/dist -# TODO - -# Deploy new versions via changesets publish diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml deleted file mode 100644 index 18227b398..000000000 --- a/.github/workflows/deployment.yml +++ /dev/null @@ -1,56 +0,0 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: Push Master - -on: - push: - branches: - - 'master' - -jobs: - deploy-to-gh-pages: - - runs-on: ubuntu-20.04 - - strategy: - matrix: - node-version: [14.x] - - steps: - - name: Checkout - uses: actions/checkout@v2.7.0 - - - name: Setup Node and Install Depedencies - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - run: yarn --frozen-lockfile - - - name: Lint and Test - run: | - yarn lint - yarn test - - - name: Build Package - run: yarn build - - - name: Build Docs - run: yarn build-docs - - - name: Upload Coverage - uses: codecov/codecov-action@v3 - with: - flags: unittests, master, push # optional - - - name: Deploy Docs to gh-pages branch - uses: JamesIves/github-pages-deploy-action@v4.4.1 - with: - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: docs # The folder the action should deploy. - - - name: Semantic Release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx semantic-release \ No newline at end of file diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml deleted file mode 100644 index 49e0dd5dd..000000000 --- a/.github/workflows/development.yml +++ /dev/null @@ -1,50 +0,0 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: Push/Pull Development - -on: - push: - branches: - - "**" # matches every branch - - "!main" # excludes master - - "!next" # excludes next - pull_request: - branches: - - "**" # matches every branch - - "!main" # excludes master - - "!next" # excludes next - -jobs: - lint-test-build: - runs-on: ubuntu-20.04 - - strategy: - matrix: - node-version: [14.x] - - steps: - - name: Checkout - uses: actions/checkout@v2.7.0 - - - name: Setup Node and Install Depedencies - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - run: yarn --frozen-lockfile - - - name: Lint and Test - run: | - yarn lint - yarn test - - - name: Build Package - run: yarn build - - - name: Build Docs - run: yarn build-docs - - - name: Upload Coverage - uses: codecov/codecov-action@v3 - with: - flags: unittests, dev, push, pull # optional diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml deleted file mode 100644 index ed7751dca..000000000 --- a/.github/workflows/master.yml +++ /dev/null @@ -1,44 +0,0 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: Pull Master - -on: - pull_request: - branches: - - 'master' - -jobs: - lint-test-build: - - runs-on: ubuntu-20.04 - - strategy: - matrix: - node-version: [14.x] - - steps: - - name: Checkout - uses: actions/checkout@v2.7.0 - - - name: Setup Node and Install Depedencies - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - run: yarn --frozen-lockfile - - - name: Lint and Test - run: | - yarn lint - yarn test - - - name: Build Package - run: yarn build - - - name: Build Docs - run: yarn build-docs - - - name: Upload Coverage - uses: codecov/codecov-action@v3 - with: - flags: unittests, master, pull # optional \ No newline at end of file