Unpin Node.js version for Prettier E2E test (#17027)

* Unpin Node.js version for Prettier E2E test

* Remove outdated modifications
This commit is contained in:
fisker Cheung
2024-12-16 12:43:36 +01:00
committed by GitHub
parent e5ae8cdaea
commit 1eccb72b32
3 changed files with 0 additions and 16 deletions
@@ -99,12 +99,6 @@ jobs:
path: /tmp
- name: Unpack published packages
run: tar -C /tmp -xf /tmp/verdaccio-workspace.tar
# Remove this step when https://github.com/prettier/prettier/issues/16930 is resolved
- name: Use Node.js 22.11 for prettier test
if: matrix.project == 'prettier'
uses: actions/setup-node@v4
with:
node-version: "22.11"
- name: Test
run: ./scripts/integration-tests/e2e-${{ matrix.project }}.sh
env:
-6
View File
@@ -93,11 +93,5 @@ jobs:
path: /tmp
- name: Unpack published packages
run: tar -C /tmp -xf /tmp/verdaccio-workspace.tar
# Remove this step when https://github.com/prettier/prettier/issues/16930 is resolved
- name: Use Node.js 22.11 for prettier test
if: matrix.project == 'prettier'
uses: actions/setup-node@v4
with:
node-version: "22.11"
- name: Test
run: ./scripts/integration-tests/e2e-${{ matrix.project }}.sh
@@ -26,10 +26,6 @@ if [ "$BABEL_8_BREAKING" = true ] ; then
sed -i 's/const getChalk = () => chalk/default (code) => code/' scripts/build/shims/babel-highlight.js
sed -i 's/const generate = babelGenerator.default/const generate = babelGenerator/' scripts/build/transform/index.js
rm tests/unit/__snapshots__/visitor-keys.js.snap
# Update recordAndTuple usage
sed -i 's/\["recordAndTuple", { syntaxType: "hash" }\]/"recordAndTuple"/' src/language-js/parse/babel.js
# Use new import assertions plugin
sed -i 's/\["importAttributes", { deprecatedAssertSyntax: true }\]/"deprecatedImportAssert"/' src/language-js/parse/babel.js
# https://github.com/babel/babel/pull/16733
rm -r tests/format/flow/mapped-types
rm tests/format/typescript/conditional-types/conditonal-types.ts