Fix CircleCI test262 job (#12338)

This commit is contained in:
Nicolò Ribaudo 2020-11-10 13:33:33 +01:00 committed by GitHub
parent 40727ab5f6
commit 4b1b961bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,9 @@ jobs:
command: |
if [ -n "$CIRCLE_PULL_REQUEST" ]
then
git fetch origin refs/pull/$CIRCLE_PR_NUMBER/merge
# $CIRCLE_PR_NUMBER is not always defined:
# https://support.circleci.com/hc/en-us/articles/360047521451-Why-is-CIRCLE-PR-NUMBER-empty-
git fetch origin refs/pull/${CIRCLE_PULL_REQUEST##*/}/merge
git checkout -qf FETCH_HEAD
fi
- restore_cache: *restore-yarn-cache
@ -175,6 +177,7 @@ workflows:
- main
- next-8-dev
- next-8-rebased
context: babel-test262
test262-pr:
jobs:
- approve-test262-run:
@ -196,6 +199,7 @@ workflows:
- master
- next-8-dev
- next-8-rebased
context: babel-test262
e2e:
jobs:
- publish-verdaccio