chore: use repository HEAD when pulling third party repos (#11837)
This commit is contained in:
parent
cc646fa10a
commit
7eaf37ea3e
@ -88,7 +88,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Setup Test Runner
|
name: Setup Test Runner
|
||||||
command: |
|
command: |
|
||||||
git clone --recurse-submodules https://github.com/babel/babel-test262-runner
|
git clone --depth=1 --recurse-submodules https://github.com/babel/babel-test262-runner
|
||||||
cd babel-test262-runner
|
cd babel-test262-runner
|
||||||
npm ci
|
npm ci
|
||||||
npm i tap-mocha-reporter --save-dev
|
npm i tap-mocha-reporter --save-dev
|
||||||
|
|||||||
12
Makefile
12
Makefile
@ -164,8 +164,8 @@ test-ci-coverage:
|
|||||||
bootstrap-flow:
|
bootstrap-flow:
|
||||||
rm -rf build/flow
|
rm -rf build/flow
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
git clone --branch=master --single-branch --shallow-since=2018-11-01 https://github.com/facebook/flow.git build/flow
|
git clone --single-branch --shallow-since=2018-11-01 https://github.com/facebook/flow.git build/flow
|
||||||
cd build/flow && git checkout $(FLOW_COMMIT)
|
cd build/flow && git checkout -q $(FLOW_COMMIT)
|
||||||
|
|
||||||
test-flow:
|
test-flow:
|
||||||
$(NODE) scripts/parser-tests/flow
|
$(NODE) scripts/parser-tests/flow
|
||||||
@ -179,8 +179,8 @@ test-flow-update-allowlist:
|
|||||||
bootstrap-typescript:
|
bootstrap-typescript:
|
||||||
rm -rf ./build/typescript
|
rm -rf ./build/typescript
|
||||||
mkdir -p ./build
|
mkdir -p ./build
|
||||||
git clone --branch=master --single-branch --shallow-since=2019-09-01 https://github.com/microsoft/TypeScript.git ./build/typescript
|
git clone --single-branch --shallow-since=2019-09-01 https://github.com/microsoft/TypeScript.git ./build/typescript
|
||||||
cd build/typescript && git checkout $(TYPESCRIPT_COMMIT)
|
cd build/typescript && git checkout -q $(TYPESCRIPT_COMMIT)
|
||||||
|
|
||||||
test-typescript:
|
test-typescript:
|
||||||
$(NODE) scripts/parser-tests/typescript
|
$(NODE) scripts/parser-tests/typescript
|
||||||
@ -194,8 +194,8 @@ test-typescript-update-allowlist:
|
|||||||
bootstrap-test262:
|
bootstrap-test262:
|
||||||
rm -rf build/test262
|
rm -rf build/test262
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
git clone --branch=master --single-branch --shallow-since=2019-12-01 https://github.com/tc39/test262.git build/test262
|
git clone --single-branch --shallow-since=2019-12-01 https://github.com/tc39/test262.git build/test262
|
||||||
cd build/test262 && git checkout $(TEST262_COMMIT)
|
cd build/test262 && git checkout -q $(TEST262_COMMIT)
|
||||||
|
|
||||||
test-test262:
|
test-test262:
|
||||||
$(NODE) scripts/parser-tests/test262
|
$(NODE) scripts/parser-tests/test262
|
||||||
|
|||||||
@ -16,5 +16,5 @@ fi
|
|||||||
|
|
||||||
rm -rf build/compat-table
|
rm -rf build/compat-table
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
git clone --branch=gh-pages --single-branch --shallow-since=2020-04-01 https://github.com/kangax/compat-table.git build/compat-table
|
git clone --single-branch --shallow-since=2020-04-01 https://github.com/kangax/compat-table.git build/compat-table
|
||||||
cd build/compat-table && git checkout -qf $COMPAT_TABLE_COMMIT
|
cd build/compat-table && git checkout -q $COMPAT_TABLE_COMMIT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user