diff --git a/.github/workflows/deploy-single-image.yml b/.github/workflows/deploy-single-image.yml index 2013b4b58f..cbdc63cb3c 100644 --- a/.github/workflows/deploy-single-image.yml +++ b/.github/workflows/deploy-single-image.yml @@ -9,6 +9,7 @@ on: env: BASE_BRANCH: ${{ github.event.pull_request.base.ref}} BRANCH: ${{ github.event.pull_request.head.ref }} + CI: true DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }} DOCKER_USER: ${{ secrets.DOCKER_USERNAME }} PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }} @@ -37,18 +38,8 @@ jobs: run: yarn lint - name: Run Yarn Build run: yarn build - - run: yarn test - env: - CI: true - name: Budibase CI - test: - name: "test" - runs-on: ubuntu-latest - needs: build - strategy: - matrix: - node-version: [14.x] - steps: + - name: Yarn Test + run: yarn test - name: Test Code Coverage uses: codecov/codecov-action@v1 with: @@ -61,11 +52,6 @@ jobs: with: install: false command: yarn test:e2e:ci - deploy: - name: "deploy" - runs-on: ubuntu-latest - needs: test - steps: - name: Login to Docker Hub run: | docker login -u $DOCKER_USER -p $DOCKER_PASSWORD