From 508ccad45d46e683b09475c758312e76325edcd6 Mon Sep 17 00:00:00 2001 From: Kam Lasater Date: Thu, 24 Nov 2022 21:37:16 -0500 Subject: [PATCH] fix(cicd): clean up workflows --- .github/workflows/merge_main.yaml | 23 ----------------------- .github/workflows/release.yaml | 8 +++++++- 2 files changed, 7 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/merge_main.yaml diff --git a/.github/workflows/merge_main.yaml b/.github/workflows/merge_main.yaml deleted file mode 100644 index 0cb4973..0000000 --- a/.github/workflows/merge_main.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: tests -on: - push: - branches: - - main - -env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - CYCLIC_DB: db-sdkCyclicDB - -jobs: - dev: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: '12.x' - - name: Run tests - run: | - npm ci - npm run test diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ac69fde..54610f1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,8 +1,14 @@ name: Release -"on": +on: push: branches: - main + +env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + CYCLIC_DB: db-sdkCyclicDB + jobs: release: name: release