Commit 3139c2c
committed
Attempt to fix build/deployment on github actions
Although `yarn build` worked locally it appears that this is only
because of the availability of installed packages in the parent
directory. Running `yarn build` on GitHub CI fails because these
packages aren't yet available.
We've specified the versions of the packages that we need by copying the
versions from package.json in the RPI fork of scratch-gui[1]. This is
because our scratch/src/index.jsx file is essentially a modified version
of a combination of scratch-gui/src/playground/index.jsx and
render-gui.jsx so we think it makes sense to use the same versions of
the third party libraries. We change the babel react preset for the same
reason.
[1]: https://github.com/RaspberryPiFoundation/scratch-gui/blob/code-club-world/package.json1 parent 1c9717b commit 3139c2c
3 files changed
+235
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
0 commit comments