Skip to content

chore(deps-dev): bump @playwright/test from 1.48.2 to 1.49.0 in /test… #268

chore(deps-dev): bump @playwright/test from 1.48.2 to 1.49.0 in /test…

chore(deps-dev): bump @playwright/test from 1.48.2 to 1.49.0 in /test… #268

Workflow file for this run

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