You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a pull request will trigger the CI workflow. The CI runs tests and linters on different operating systems and versions of Node. It must pass before your pull request can merged into master.
19
+
20
+
On merging the pull request the release workflow will be fired. The release workflow ensures the latest code is released to NPM. Using the conventional commits pattern, the commit is analysed and a new version of the package is released.
21
+
22
+
The two folders of interest are `src` and `tests`. The `tests` folder follows the `src` directory structure and includes a test for each file in `src`
23
+
24
+
Inside the `src` folder you'll see the folders `data` and `nodes`. The `data` folder handles fetching data, while the `nodes` directory handles building the Gatsby node objects.
25
+
26
+
## Running the project
27
+
28
+
- Navigate to the root directory in your terminal
29
+
- Run `npm install`
30
+
- Run `npm run watch` to compile the files
31
+
- Run `npm run test` to run the test suite
32
+
33
+
## How to contribute
34
+
35
+
- Make your changes on a branch
36
+
- Create a pull request describing your changes/edits
37
+
- Make sure you've added tests for your changes and the existing tests still pass
0 commit comments