@samitouri / QOS-React-2 / commits / e58b6c158b

Reorganize build folders for DiffTrain (#25722)

Reorganize some files to make the DiffTrain config easier to setup. Also add unstable_server-external-runtime to sync.

lauren committed Nov 21, 2022 at 12:42 UTC e58b6c158bf7baeedc918353d1fea658003ef65c
1 file changed +15 -9
.github/workflows/commit_artifacts.yml
+15 -9
@@ -79,22 +79,28 @@ jobs:
79 );
80 }
81 }
82 - - name: Move relevant files into facebook-www
82 + - name: Move relevant files into compiled
83 run: |
84 - mkdir -p ./facebook-www
85 - mkdir -p ./facebook-www/babel-plugin-react-refresh
84 + rm -rf ./compiled
85 +
86 + mkdir -p ./compiled
87 + mkdir -p ./compiled/facebook-www
88 + mkdir -p ./compiled/babel-plugin-react-refresh
89
90 mv build/facebook-www \
88 - ./facebook-www
91 + ./compiled/facebook-www
92 mv build/WARNINGS \
90 - ./facebook-www/WARNINGS
93 + ./compiled/facebook-www/WARNINGS
94 mv build/COMMIT_SHA \
92 - ./facebook-www/COMMIT_SHA
95 + ./compiled/facebook-www/COMMIT_SHA
96 mv build/oss-stable/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js \
94 - ./facebook-www/eslint-plugin-react-hooks.js
97 + ./compiled/facebook-www/eslint-plugin-react-hooks.js
98 + mv build/oss-stable/react-dom/unstable_server-external-runtime.js \
99 + ./compiled/facebook-www/unstable_server-external-runtime.js
100 mv build/oss-stable/react-refresh/cjs/react-refresh-babel.development.js \
96 - ./facebook-www/babel-plugin-react-refresh/index.js
97 - ls -R ./facebook-www
101 + ./compiled/babel-plugin-react-refresh/index.js
102 +
103 + ls -R ./compiled
104 - uses: actions/upload-artifact@v3
105 with:
106 name: facebook-www