Skip to content

Commit

Permalink
chore: update keywords and add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fzn0x committed Jul 21, 2024
1 parent 8640c10 commit 907590c
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: '🐞 Bug report'
about: Something is not working as it should
---

#### Bug description

...

#### What is actually happening?

...

#### What do you expect to happen?

...

#### Code to reproduce

```js

```

#### Checklist

- [ ] I'm willing to submit a pull request
- [ ] I have read the documentation.
- [ ] I have tried my code with the latest version of npm and [reacti18n](https://github.com/fzn0x/reacti18n).
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: '⭐ Feature request'
about: Suggest a feature for reacti18n
---

#### What feature are you want to add?

...

#### Why this feature is important?

...

#### Describe the feature

...

#### Checklist

- [ ] I'm willing to submit a pull request
- [ ] I have read the documentation and made sure this feature doesn't already exist.
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/3-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: '❓ Question'
about: Something is unclear or needs to be discussed
---

#### What would you like to ask?

...

#### Checklist

- [ ] I have read the documentation.
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Before making a pull request, I already

- [ ] Communicate the issue by making an issue in this repository.
- [ ] Include tests.
- [ ] Add a new documentation for my new feature.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: ci
on:
push:
branches: [main]
pull_request:
branches: ['*']
paths-ignore:
- 'docs/**'
- '.vscode/**'
- 'README.md'
- '.gitignore'
- 'LICENSE'
jobs:
main:
name: 'Main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- uses: oven-sh/setup-bun@v1
with:
bun-version: '1.0.25'
- run: bun install
- run: bun run format
- run: bun run lint
- run: bun run build
- run: bun run test

jsr-dry-run:
name: "Checking if it's valid for JSR"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno publish --dry-run
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,16 @@
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
},
"keywords": [
"react",
"i18n",
"internationalization",
"localization",
"react-i18n",
"translations",
"multi-language",
"react-library",
"typescript"
]
}

0 comments on commit 907590c

Please sign in to comment.