Adds test that checks that Core and Container WC clientAPI are the sa… #565
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
on: | |
push: | |
branches: | |
- 'main' | |
name: Backwards Compatibility Check | |
env: | |
CYPRESS_CACHE_FOLDER: ~/cypress-binary-cache | |
CYPRESS_DASHBOARD_RECORD_KEY: ${{ secrets.CYPRESS_DASHBOARD }} | |
GH_TOKEN: ${{ github.token }} | |
jobs: | |
prepare: | |
uses: ./.github/workflows/prepare.yml | |
with: | |
buildcache_key: compat_buildcache-${{ github.ref }} | |
secrets: inherit | |
compatibility: | |
name: Compatibility Tests | |
needs: prepare | |
runs-on: ubuntu-latest | |
env: | |
USE_CYPRESS_DASHBOARD: true # enable when trying to debug | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.14.0' | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/tmp_build | |
~/cypress-binary-cache | |
key: compat_buildcache-${{ github.ref }} | |
- run: cp -r ~/tmp_build/* . | |
- run: bash ./scripts/testCompatibility.sh --tag latest |