mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
6ef3984410
Remove the Prettier related stuff from the conformance, which is purely aimed at JS/TS. Instead, `oxc_formatter_tests` manage Prettier's test fixtures along with Oxfmt.
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
name: Clone submodules
|
|
|
|
description: Clone submodules
|
|
|
|
inputs:
|
|
test262:
|
|
default: true
|
|
required: false
|
|
type: boolean
|
|
description: Whether to clone test262 submodule
|
|
|
|
babel:
|
|
default: true
|
|
required: false
|
|
type: boolean
|
|
description: Whether to clone babel submodule
|
|
|
|
typescript:
|
|
default: true
|
|
required: false
|
|
type: boolean
|
|
description: Whether to clone typescript submodule
|
|
|
|
estree-conformance:
|
|
default: true
|
|
required: false
|
|
type: boolean
|
|
description: Whether to clone estree-conformance submodule
|
|
|
|
node-compat-table:
|
|
default: true
|
|
required: false
|
|
type: boolean
|
|
description: Whether to clone node-compat-table submodule
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Clone submodules in parallel
|
|
shell: bash
|
|
env:
|
|
ACTION_PATH: ${{ github.action_path }}
|
|
TEST_262: ${{ inputs.test262 }}
|
|
BABEL: ${{ inputs.babel }}
|
|
TYPESCRIPT: ${{ inputs.typescript }}
|
|
ESTREE_CONFORMANCE: ${{ inputs.estree-conformance }}
|
|
NODE_COMPAT_TABLE: ${{ inputs.node-compat-table }}
|
|
run: |
|
|
node "${GITHUB_WORKSPACE}/.github/scripts/clone-parallel.mjs" \
|
|
"${TEST_262}" \
|
|
"${BABEL}" \
|
|
"${TYPESCRIPT}" \
|
|
"${ESTREE_CONFORMANCE}" \
|
|
"${NODE_COMPAT_TABLE}"
|