diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..52ddeef --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,42 @@ +name: Prettier Code Formatter + +on: + push: + branches: + - main + pull_request: + +jobs: + prettier: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + + - name: Create .prettierrc.yaml + uses: 1arp/create-a-file-action@0.4.5 + with: + path: '/' + isAbsolutePath: false + file: '.prettierrc.yaml' + content: | + overrides: + - files: + - "*.md" + options: + parser: "markdown" + printWidth: 100 + proseWrap: "always" + + - name: Prettify code + uses: creyD/prettier_action@v4.3 + with: + prettier_options: --write --config .prettierrc.yaml + only_changed: true + commit_message: 'chore(config): prettied code' + + lint: + uses: kurocado-studio/styleguide/.github/workflows/workflow.lint.yml@main + secrets: inherit diff --git a/.idea/.github.iml b/.idea/.github.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/.github.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml new file mode 100644 index 0000000..ec946a1 --- /dev/null +++ b/.idea/material_theme_project_new.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..854e742 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/profile/README.md b/profile/README.md new file mode 100644 index 0000000..3eb09df --- /dev/null +++ b/profile/README.md @@ -0,0 +1,2 @@ +# Hello World +