Skip to content

Commit 3b95413

Browse files
committed
add github action
1 parent 486dc35 commit 3b95413

File tree

6 files changed

+123
-3
lines changed

6 files changed

+123
-3
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: "\U0001F41B Bug report"
3+
about: Create a report to help make parser-ts better
4+
---
5+
6+
## 🐛 Bug report
7+
8+
### Current Behavior
9+
10+
<!-- If applicable, add screenshots to help explain your problem. -->
11+
12+
### Expected behavior
13+
14+
<!-- A clear and concise description of what you expected to happen. -->
15+
16+
### Reproducible example
17+
18+
### Suggested solution(s)
19+
20+
<!-- How could we solve this bug? What changes would need to made to parser-ts? -->
21+
22+
### Additional context
23+
24+
<!-- Add any other context about the problem here. -->
25+
26+
### Your environment
27+
28+
Which versions of parser-ts are affected by this issue? Did this work in previous versions of parser-ts?
29+
30+
<!-- PLEASE FILL THIS OUT -->
31+
32+
| Software | Version(s) |
33+
| ---------- | ---------- |
34+
| fp-ts | |
35+
| parser-ts | |
36+
| TypeScript | |
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
name: "\U0001F41B Documentation"
3+
about: Improvements or suggestions of parser-ts documentation
4+
---
5+
6+
## 📖 Documentation
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: "\U0001F680Feature request"
3+
about: Suggest an idea for parser-ts
4+
---
5+
6+
## 🚀 Feature request
7+
8+
### Current Behavior
9+
10+
<!-- A clear and concise description of what is the current behavior / use. -->
11+
12+
### Desired Behavior
13+
14+
<!-- A clear and concise description of what you want to happen. -->
15+
16+
### Suggested Solution
17+
18+
<!-- Suggest a solution that the community/maintainers/you may take to enable the desired behavior -->
19+
20+
<!-- NOTE: Feature Requests without suggested solutions may not be addressed or treated with the same level of urgency as those that have suggested solutions. -->
21+
22+
### Who does this impact? Who is this for?
23+
24+
<!-- Who is this for? All users? TypeScript users? Beginners? Advanced? Yourself? People using X, Y, X, etc.? -->
25+
26+
### Describe alternatives you've considered
27+
28+
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
29+
30+
### Additional context
31+
32+
<!-- Add any other context or links about the feature request here. -->
33+
34+
### Your environment
35+
36+
<!-- PLEASE FILL THIS OUT -->
37+
38+
| Software | Version(s) |
39+
| ---------- | ---------- |
40+
| fp-ts | |
41+
| parser-ts | |
42+
| TypeScript | |

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
**Before submitting a pull request,** please make sure the following is done:
2+
3+
- Fork [the repository](https://github.com/gcanti/parser-ts) and create your branch from `master`.
4+
- Run `npm install` in the repository root.
5+
- If you've fixed a bug or added code that should be tested, add tests!
6+
- Ensure the test suite passes (`npm test`).
7+
8+
**Note**. If you've fixed a bug please link the related issue or, if missing, open an issue before sending a PR.
9+
10+
**Note**. If you find a typo in the **documentation**, make sure to modify the corresponding source (docs are generated).

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [12.x]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm install
28+
- run: npm run build --if-present
29+
- run: npm test

.travis.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)