From 84f7082c611d9e584a6ef0678d7d46f9a633607f Mon Sep 17 00:00:00 2001 From: Novus Nota <68142933+novusnota@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:48:01 +0100 Subject: [PATCH] feat(ci): add backwards compatibility tests for `isSubsetOf` function --- .github/workflows/tact.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/tact.yml b/.github/workflows/tact.yml index 81733e3ed..e3458f49d 100644 --- a/.github/workflows/tact.yml +++ b/.github/workflows/tact.yml @@ -22,6 +22,24 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Setup Node.js 16 for backwards compat tests + uses: actions/setup-node@v3 + with: + node-version: 16 + # without caching + + - name: Backwards compat tests + run: | + # Install dependencies, gen and build the compiler + yarn install + yarn clean + yarn gen + yarn build + # Test some specific things for backwards compatibility + yarn jest -t 'isSubsetOf' + # Clean-up + yarn cleanall + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: