Skip to content

Commit

Permalink
Add prettier to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
KristjanESPERANTO committed Nov 20, 2023
1 parent 2584206 commit 26b2d6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# This workflow will do a clean install of node dependencies, prettify the source code, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI
name: Continuous Integration

# Trigger
on: [push, pull_request]
Expand All @@ -27,6 +27,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write .

# Install
- run: yarn install

Expand Down
2 changes: 1 addition & 1 deletion LoggerProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ for (const level of levels) {
LoggerProxy[level] = function (message) {
console[level](`MMM-OnThisDay: ${message}`);
};
}
}

module.exports = LoggerProxy;

0 comments on commit 26b2d6f

Please sign in to comment.