Skip to content

Commit

Permalink
Merge branch 'development' of github.com:UNICEFECAR/USupport-email in…
Browse files Browse the repository at this point in the history
…to staging
  • Loading branch information
vasilen-7DIGIT committed Jul 27, 2023
2 parents 63c18c9 + 96caac0 commit 708cb9c
Show file tree
Hide file tree
Showing 13 changed files with 3,078 additions and 29 deletions.
16 changes: 16 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"env": {
"node": true,
"es2021": true
},
"extends": ["eslint:recommended", "prettier"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["prettier"],
"rules": {
"no-undefined": "off",
"no-undef": "off"
}
}
38 changes: 38 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Lint

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
- development
- test-lint
pull_request:
branches:
- main
- development

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 16

# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: npm ci

- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
auto_fix: true
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# USupport-email
USupport email Node.js API service

This service handles the sending of emails to users, providers and admins in the USupport project.

For detailed instructions on how to run the service, please refer to the [USupport-entry-bundle](https://github.com/UNICEFECAR/USupport-entry-bundle)
Loading

0 comments on commit 708cb9c

Please sign in to comment.