Skip to content

Commit

Permalink
Merge pull request #61 from ponbike/feature/add-morgan-logging
Browse files Browse the repository at this point in the history
Feature/add morgan logging
  • Loading branch information
apiest-pon authored Jul 25, 2023
2 parents 2567d84 + bf73f4b commit 45d837e
Show file tree
Hide file tree
Showing 7 changed files with 3,071 additions and 1,195 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 19.x, 20.x]
node-version: [18.x, 19.x, 20.x]

steps:
- uses: actions/checkout@v1
Expand Down
26 changes: 7 additions & 19 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,15 @@ jobs:

runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Tests
uses: pondevelopment/actions/nodejs@main
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint, and test
run: |
npm ci
npm run lint:report
npm test
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
CI: true
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_CACHE: 'npm'
MODULES_CACHE: 'true'
- name: SonarCloud
uses: sonarsource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Loading

0 comments on commit 45d837e

Please sign in to comment.