Comments (5)
This is the sandbox I'm fixing it and other minor bugs found
https://github.com/nathanfletcher/publicgoods-scripts
from publicgoods-scripts.
@nathanfletcher This may be a "non-consequential" error, that may require further investigation. For example, why is it that the error does not appear in the build that the CI does here? (if it appeared, it would error out)
Can you please provide additional information on how this error is triggered?
from publicgoods-scripts.
@lacabra Creating a GitHub action in this repo to set up the CI in this repo to run npm run build
in both folders packages/registry
and packages/eligibility
means that all the steps from 1-8 in the Readme would have to be followed first, with some slight modifications to include packages/registry
and packages/eligibility
.
Running npm run build
for packages/eligibility
after the steps throws this error because it cannot find /wp-content/themes/dpga/font/NowAlt-Regular.woff
as the CSS is not able to access folders outside the src
folder of packages/eligibility
during the npm run build
process.
I solved it by including a step in moveFiles.bash
here to copy the fonts folder from the static wp-content into packages/eligibility
and updated the links to the fonts in the CSS.
That way it won't worry the upstream build command here
from publicgoods-scripts.
@lacabra Alternatively, a simpler solution would be for @rachita19082 to include the fonts folder with the respective fonts in the project.
That is if the fonts used would not change anytime soon so the current solution I have above wouldn't have to pull it from the static WordPress here
from publicgoods-scripts.
@nathanfletcher I prefer your solution of copying them only for the purposes of the CI. Alternatively, you could do a soft link of the relative folder (because you have it cloned already -> that's how I have it in my local environment, and works well)
For sure, do not include the fonts in the source code because they don't belong there, and introduces undesired redundancy.
Thanks!
from publicgoods-scripts.
Related Issues (20)
- Form to database
- Analytics should collect usage data to track base performance and visitor stats HOT 6
- Data explorer figures don't match HOT 1
- SDG grid titles are missing HOT 1
- Select // Deselect HOT 2
- Dynamic profile page for DPGs
- Utilise the map for both Registry and Roadmap pages
- Updating System Generated Emails
- BUG on Eligibility form HOT 2
- BUG on Registry Website when SDGs are deselected HOT 2
- [Registry Mobile] Registry Page_Mobile compatibility of the DPGA website HOT 1
- Eligibility Form_Mobile compatibility of the DPGA website HOT 3
- Roadmap page_Mobile compatibility of the DPGA website HOT 6
- [Registry Mobile] Remove sections from mobile version HOT 2
- [Registry Mobile][WP theme] Fix button alignment HOT 2
- [Registry Mobile] DPG type and SDG filters
- [Registry Mobile] DPG list
- [Registry Mobile][WP theme] Icon alignment HOT 4
- [Registry Mobile][WP theme] Remove sections from mobile version HOT 1
- Remove JFrog
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from publicgoods-scripts.