diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e24622b..f388d10 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,4 +1,5 @@ # Users referenced in this file will automatically be requested as reviewers for PRs that modify the given paths. + # See https://help.github.com/articles/about-code-owners/ -* @kontent-ai/javascript-maintainers +- @Enngage @kontent-ai/javascript-maintainers diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 6a21aac..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - -### Brief bug description - -What went wrong? - -### Repro steps - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -### Expected behavior - -What the correct behavior is? - -### Test environment - - - Platform/OS: [e.g. .NET Core 2.1, iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -### Additional context - -Add any other context about the problem here. - -### Screenshots - -Add links to screenshots, if possible. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 5311faf..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project - ---- - -### Motivation - -Why is this feature required? What problems does it solve? - -### Proposed solution - -An ideal solution for the above problems. - -### Additional context - -Add any other context, screenshots, or reference links about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index 83e5396..0000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -name: Question -about: Ask a question - ---- - -### Question - -What do you want to ask? - -### Reference - -* URL diff --git a/.github/ISSUE_TEMPLATE/spike.md b/.github/ISSUE_TEMPLATE/spike.md deleted file mode 100644 index 9a3eca1..0000000 --- a/.github/ISSUE_TEMPLATE/spike.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Spike -about: Suggest an analysis of a problem - ---- - -### Expected result - -What do we want to explore and why? Which questions do we want to answer with this spike? - -### Additional context - -Add any other context or guidelines here. - -### Resources - -* URL diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 6659752..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,17 +0,0 @@ -### Motivation - -Which issue does this fix? Fixes #`issue number` - -If no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious? - -### Checklist - -- [ ] Code follows coding conventions held in this repo -- [ ] Automated tests have been added -- [ ] Tests are passing -- [ ] Docs have been updated (if applicable) -- [ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults - -### How to test - -If manual testing is required, what are the steps? diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3b92be7 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,19 @@ +name: Lint & Build + +on: + push: + branches: [main] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js from .nvmrc file + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + - run: npm ci + - run: npm run lint + - run: npm run build