Skip to content

Commit

Permalink
chore: base setup for action
Browse files Browse the repository at this point in the history
  • Loading branch information
RomuloVitoi committed Sep 30, 2022
1 parent dce6dd9 commit b162214
Show file tree
Hide file tree
Showing 13 changed files with 2,983 additions and 24 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"env": {
"node": true,
"es2021": true
Expand Down
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged

npm run build && git add dist
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
![CI](https://github.com/nearform/bench-template/actions/workflows/ci.yml/badge.svg?event=push)
![CI](https://github.com/nearform/github-action-licenses-export/actions/workflows/ci.yml/badge.svg?event=push)

# Bench Template
A feature-packed template to start a new repository on the bench, including:
# github-action-licenses-export

- code linting with [ESlint](https://eslint.org) and [prettier](https://prettier.io)
- pre-commit code linting and commit message linting with [husky](https://www.npmjs.com/package/husky) and [commitlint](https://commitlint.js.org/)
- dependabot setup with automatic merging thanks to ["merge dependabot" GitHub action](https://github.com/fastify/github-action-merge-dependabot)
- notifications about commits waiting to be released thanks to ["notify release" GitHub action](https://github.com/nearform/github-action-notify-release)
- PRs' linked issues check with ["check linked issues" GitHub action](https://github.com/nearform/github-action-check-linked-issues)
- Continuous Integration GitHub workflow

## When you have already a repo

If you already created a repo and you want to add some of the features above to it, you can have a look at [NearForm MRM Preset](https://github.com/nearform/mrm-preset-nearform).
GitHub action that exports a file with the dependencies used in the application with their respective licenses.
Loading

0 comments on commit b162214

Please sign in to comment.