Skip to content

Commit

Permalink
add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Nov 10, 2021
1 parent 486dc35 commit 3b95413
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 3 deletions.
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: "\U0001F41B Bug report"
about: Create a report to help make parser-ts better
---

## 🐛 Bug report

### Current Behavior

<!-- If applicable, add screenshots to help explain your problem. -->

### Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

### Reproducible example

### Suggested solution(s)

<!-- How could we solve this bug? What changes would need to made to parser-ts? -->

### Additional context

<!-- Add any other context about the problem here. -->

### Your environment

Which versions of parser-ts are affected by this issue? Did this work in previous versions of parser-ts?

<!-- PLEASE FILL THIS OUT -->

| Software | Version(s) |
| ---------- | ---------- |
| fp-ts | |
| parser-ts | |
| TypeScript | |
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/Documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: "\U0001F41B Documentation"
about: Improvements or suggestions of parser-ts documentation
---

## 📖 Documentation
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: "\U0001F680Feature request"
about: Suggest an idea for parser-ts
---

## 🚀 Feature request

### Current Behavior

<!-- A clear and concise description of what is the current behavior / use. -->

### Desired Behavior

<!-- A clear and concise description of what you want to happen. -->

### Suggested Solution

<!-- Suggest a solution that the community/maintainers/you may take to enable the desired behavior -->

<!-- NOTE: Feature Requests without suggested solutions may not be addressed or treated with the same level of urgency as those that have suggested solutions. -->

### Who does this impact? Who is this for?

<!-- Who is this for? All users? TypeScript users? Beginners? Advanced? Yourself? People using X, Y, X, etc.? -->

### Describe alternatives you've considered

<!-- A clear and concise description of any alternative solutions or features you've considered. -->

### Additional context

<!-- Add any other context or links about the feature request here. -->

### Your environment

<!-- PLEASE FILL THIS OUT -->

| Software | Version(s) |
| ---------- | ---------- |
| fp-ts | |
| parser-ts | |
| TypeScript | |
10 changes: 10 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
**Before submitting a pull request,** please make sure the following is done:

- Fork [the repository](https://github.com/gcanti/parser-ts) and create your branch from `master`.
- Run `npm install` in the repository root.
- If you've fixed a bug or added code that should be tested, add tests!
- Ensure the test suite passes (`npm test`).

**Note**. If you've fixed a bug please link the related issue or, if missing, open an issue before sending a PR.

**Note**. If you find a typo in the **documentation**, make sure to modify the corresponding source (docs are generated).
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm test
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

0 comments on commit 3b95413

Please sign in to comment.