Skip to content

chore: remove failing tests (#172) #134

chore: remove failing tests (#172)

chore: remove failing tests (#172) #134

Workflow file for this run

name: main branch workflow
on:
push:
branches: [main, feat/add-main-branch-ci-pipeline-MGX-834]
permissions:
contents: write
id-token: write
deployments: write
checks: write
# The following concurrency group queus in-progress jobs
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: false
jobs:
init:
name: Set global version
runs-on: ubuntu-latest
outputs:
GLOBAL_VERSION: ${{ steps.set_vars.outputs.GLOBAL_VERSION }}
steps:
- name: Set global version
id: set_vars
run: echo "GLOBAL_VERSION=${{ github.sha }}" >> $GITHUB_OUTPUT
build-and-test:
needs: [init]
name: Build
uses: ./.github/workflows/reusable-build-and-test.yml
secrets: inherit
with:
version: ${{ needs.init.outputs.GLOBAL_VERSION }}
deploy-dev:
name: Deploy `dev` environment
needs: [init, build-and-test]
uses: ./.github/workflows/reusable-deploy.yml
secrets: inherit
with:
env: dev
version: ${{ needs.init.outputs.GLOBAL_VERSION }}