-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add badges to read me and update names of our test workflows * remove terminology page remove duplicative docs on e-Manifest * move contributing guide to directory recognized by GitHub and remove duplication * Streamline our source roadmap, specifications, and update our deployment workflow update deploy documentation workflow dependencies and add comments explaining repo setting requirements update source roadmap to help newcomers navigate the project monorepo, fix bug in runhaz.sh rename deployment chapter to operations streamline design documentation add figma iframe remove reference chapter from documentation * add lint_client workflow a simple workflow that lints the client codebase to check for common errors
- Loading branch information
1 parent
4a1f358
commit cd151ae
Showing
37 changed files
with
368 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,65 @@ | ||
# Contributing | ||
# Contributing to Haztrak | ||
|
||
See our contributing guide at https://usepa.github.io/haztrak/development/contributing.html | ||
You are formally invited to contribute to the Haztrak Project! | ||
|
||
Markdown file version of our documentation can be found [here](/docs/guide/src) | ||
You don't need experience programming to donate your time, | ||
we accept contribution of all types, code, written word, bug reports, feature suggestions, | ||
graphics. | ||
|
||
Thank you for your interest in contributing to haztrak, this short guide will | ||
tell you everything you need to know before your first pull request. | ||
|
||
- [I found a bug](#report-an-issue) | ||
- [I have a feature request](#suggest-an-enhancement) | ||
- [I'd like to work on an issue](#work-on-an-issue) | ||
|
||
# How to Contribute | ||
|
||
We welcome all contributions! You don't need to know how to program to contribute, here are some of the ways you can get involved: | ||
|
||
### Start a discussion or ask a question | ||
|
||
If you have a question about Haztrak, or want to start a discussion, please open an [ticket](https://github.com/USEPA/haztrak/issues).on our GitHub repository. We welcome all questions and feedback! | ||
|
||
### Report a bug | ||
|
||
You can help us improve Haztrak by reporting any bugs | ||
or issues you encounter. You can also do this by opening an [issue at our GitHub repository](https://github.com/USEPA/haztrak/issues). | ||
|
||
### Suggest an Enhancement | ||
|
||
If you have an idea for how we could improve Haztrak, please | ||
share it with us by opening an issue! (if you haven't noticed, we track everything through tickets on our issues page). Please be as detailed as possible in your suggestion. | ||
|
||
If you have an idea It's best to open an issue, before starting work or | ||
submitting a PR. we also welcome draft PRs. | ||
|
||
### Work on an Issue | ||
|
||
If you're looking to contribute code or documentation, here's the general process... | ||
|
||
- Ask to be assigned an [Issues](https://github.com/USEPA/haztrak/issues). | ||
- Fork this repo to your GitHub account (click 'Fork'). | ||
- Clone your fork to your local workstation or a remote development environment. | ||
- Set up a local development environment | ||
- See our documentation on setting up a [local development environment](./local-development.md) | ||
- Create a git feature branch branch, | ||
- Write a test that fails (commit) | ||
- [See our documentation on Testing Haztrak](../design/testing.md) | ||
- Write the code to make that test pass (commit some more) | ||
- Run the test suite and ensure all tests pass (celebrate) | ||
- refactor your code (commit often) | ||
- clean up your commit history (squash commits) | ||
- push your branch to your fork and open a PR from the feature branch | ||
- please leave "Allow edits from maintainers" checked. | ||
|
||
## Pull Request Guidelines | ||
|
||
Before you submit a pull request, please make sure that your changes align with | ||
our project goals and vision (create an issue if you're not sure). Here are some guidelines to follow when submitting a pull request: | ||
|
||
- Keep your pull requests small and focused. | ||
- Make sure your code is well-documented and tested. | ||
- Explain the reasoning behind your changes in the pull request description. | ||
- Make sure your code follows Haztrak's coding style and conventions. | ||
- Be open to feedback and willing to make changes to your code based on reviewer feedback. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: 'Lint Client' | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./client | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
cache-dependency-path: '**/package-lock.json' | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.