From 8a6189ec98986b1c13c4b7f01ba3240d0c0a672f Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 7 Dec 2021 09:14:17 -0800 Subject: [PATCH] build(cd): removes cd, updates main to ci --- .github/workflows/cd.yml | 28 -------------------------- .github/workflows/{main.yml => ci.yml} | 0 2 files changed, 28 deletions(-) delete mode 100644 .github/workflows/cd.yml rename .github/workflows/{main.yml => ci.yml} (100%) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml deleted file mode 100644 index 68dcbd2..0000000 --- a/.github/workflows/cd.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: CD - -on: - push: - tags-ignore: - - '**' - branches: - - main -jobs: - publish: - if: contains(github.event.head_commit.message, 'skip ci') == false - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Setup Node.js - uses: actions/setup-node@v1 - with: - node-version: 15 - - name: Install Dependencies - run: yarn install --frozen-lockfile --ignore-engines - - name: Build Package - run: yarn build - - name: Semantic Release - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - NPM_TOKEN: ${{ secrets.GH_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }} - run: npx semantic-release diff --git a/.github/workflows/main.yml b/.github/workflows/ci.yml similarity index 100% rename from .github/workflows/main.yml rename to .github/workflows/ci.yml