diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8dd70c850..6a3b9b76b 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,28 +53,28 @@ jobs: - name: Run all component tests run: yarn nx run-many --target=test/components/ci --parallel --verbose --projects=tag:linux - # e2e_tests_linux: - # name: Verify PR - Component Tests (Linux) - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # with: - # fetch-depth: 0 - # - name: Extract node version from package.json - # uses: sergeysova/jq-action@v2 - # id: node_version - # with: - # cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g' - # - name: Use Node.js - # uses: actions/setup-node@v4 - # with: - # node-version: '${{ steps.node_version.outputs.value }}' - # - name: Use Yarn - # run: corepack enable - # - name: Install deps - # run: yarn - # - name: Run all e2e tests - # run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux + e2e_tests_linux: + name: Verify PR - Component Tests (Linux) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Extract node version from package.json + uses: sergeysova/jq-action@v2 + id: node_version + with: + cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g' + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '${{ steps.node_version.outputs.value }}' + - name: Use Yarn + run: corepack enable + - name: Install deps + run: yarn + - name: Run all e2e tests + run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux publish_images: name: Publish images diff --git a/.github/workflows/pull-request-release.yml b/.github/workflows/pull-request-release.yml index 8b4feda3c..ee69cc1de 100755 --- a/.github/workflows/pull-request-release.yml +++ b/.github/workflows/pull-request-release.yml @@ -57,28 +57,28 @@ jobs: - name: Run all component tests run: yarn nx affected --base=origin/main --head=HEAD --target=test/components/ci --verbose --exclude='*,!tag:linux' - # e2e_tests_linux: - # name: Verify PR - Component Tests (Linux) - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # with: - # fetch-depth: 0 - # - name: Extract node version from package.json - # uses: sergeysova/jq-action@v2 - # id: node_version - # with: - # cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g' - # - name: Use Node.js - # uses: actions/setup-node@v4 - # with: - # node-version: '${{ steps.node_version.outputs.value }}' - # - name: Use Yarn - # run: corepack enable - # - name: Install deps - # run: yarn - # - name: Run all e2e tests - # run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux + e2e_tests_linux: + name: Verify PR - Component Tests (Linux) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Extract node version from package.json + uses: sergeysova/jq-action@v2 + id: node_version + with: + cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g' + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '${{ steps.node_version.outputs.value }}' + - name: Use Yarn + run: corepack enable + - name: Install deps + run: yarn + - name: Run all e2e tests + run: yarn nx run-many --target=test/e2e/ci --verbose --projects=tag:linux publish_images: name: Package