diff --git a/.github/workflows/update-compat-data.yml b/.github/workflows/update-compat-data.yml index 22d976d4688c..2bd181c0151c 100644 --- a/.github/workflows/update-compat-data.yml +++ b/.github/workflows/update-compat-data.yml @@ -31,9 +31,23 @@ jobs: echo "::set-output name=updated::false" || echo "::set-output name=updated::true" id: updated + - name: Bootstrap + if: steps.updated.outputs.updated == 'true' + run: make bootstrap - name: Run update script if: steps.updated.outputs.updated == 'true' run: make build-compat-data + - name: Update tests + if: steps.updated.outputs.updated == 'true' + run: yarn jest + env: + OVERWRITE: true + - name: Update tests (Babel 8) + if: steps.updated.outputs.updated == 'true' + run: yarn jest + env: + OVERWRITE: true + BABEL_8_BREAKING: true - name: Commit changes if: steps.updated.outputs.updated == 'true' run: | diff --git a/.github/workflows/update-parser-tests.yml b/.github/workflows/update-parser-tests.yml index 1fb0ff38ccbc..97ddd2f9b4c0 100644 --- a/.github/workflows/update-parser-tests.yml +++ b/.github/workflows/update-parser-tests.yml @@ -12,6 +12,7 @@ permissions: jobs: createPullRequest: + name: Update compat-table permissions: contents: write # for Git to git push runs-on: ubuntu-latest