Add a workflow to update test262 tests weekly (#12523)

* chore: draft update parser tests workflow

* Build babel parser

* chore: use Babel bot as git user name

* use babel-bot token

* refactor: use actions/github-script

* rename
This commit is contained in:
Huáng Jùnliàng
2020-12-21 10:04:57 -05:00
committed by GitHub
parent 56c7024d5d
commit 0f866ed9d2
3 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Get the latest HEAD of tc39/test262
# usage:
# sh ./scripts/parser-tests/bump-test262-version.sh
set -e
export GIT_DIR=./build/test262/.git
git fetch -q origin HEAD
git rev-parse FETCH_HEAD