chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#334) #267
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Release | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- nightly | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build | |
uses: ./.github/workflows/.reusable_build.yml | |
secrets: inherit | |
build-and-push-test-image-oss: | |
name: Build and Push Test Image to GHCR - OSS | |
uses: ./.github/workflows/.reusable_test_image.yml | |
needs: build | |
secrets: inherit | |
build-and-push-test-image-ee: | |
name: Build and Push Test Image to GHCR - EE | |
uses: ./.github/workflows/.reusable_test_image.yml | |
needs: build | |
secrets: inherit | |
with: | |
enterprise: true | |
e2e-tests-oss: | |
name: E2E Tests - OSS | |
needs: build-and-push-test-image-oss | |
uses: ./.github/workflows/.reusable_e2e_tests_oss.yml | |
with: | |
gateway-image: ${{ needs.build-and-push-test-image-oss.outputs.image }} | |
secrets: inherit | |
e2e-tests-ee: | |
name: E2E Tests - EE | |
needs: build-and-push-test-image-ee | |
uses: ./.github/workflows/.reusable_e2e_tests_ee.yml | |
with: | |
gateway-image: ${{ needs.build-and-push-test-image-ee.outputs.image }} | |
secrets: inherit | |
release: | |
name: Release | |
runs-on: ${{ vars.RUNS_ON }} | |
needs: [e2e-tests-oss, e2e-tests-ee] | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN_PRIVATE_READ }} | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Download assets | |
timeout-minutes: 5 | |
uses: actions/download-artifact@v4 | |
with: | |
name: assets | |
- name: Rename assets | |
run: mv ./assets.tar.gz ./release.tar.gz | |
- name: Release non-nightly | |
if: startsWith(github.ref, 'refs/tags/') | |
timeout-minutes: 5 | |
env: | |
GH_TOKEN: ${{ github.token }} | |
GH_REPOSITORY: ${{ github.repository }} | |
RELEASE_TAG_NAME: ${{ github.ref_name }} # this is the tag name | |
RELEASE_TARGET: ${{ github.sha }} | |
run: bash .ci/release-non-nightly.sh | |
- name: Release nightly | |
if: github.ref == 'refs/heads/main' | |
timeout-minutes: 5 | |
env: | |
GH_TOKEN: ${{ github.token }} | |
GH_REPOSITORY: ${{ github.repository }} | |
RELEASE_TAG_NAME: nightly | |
RELEASE_TARGET: ${{ github.sha }} | |
run: bash .ci/release-nightly.sh |