From e36c6f50a4b3f1fa64e0d88265f93f8e3c1e6fd5 Mon Sep 17 00:00:00 2001 From: JulienChampagnol Date: Fri, 6 Oct 2023 16:14:08 +0200 Subject: [PATCH] github action --- .github/workflows/CD.yml | 4 ---- .github/workflows/prepare_pr.yml | 11 +++++++++++ .prettierrc | 4 +--- 3 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/prepare_pr.yml diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 3ce75c0..b1d54e2 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -8,10 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Run prettier - run: | - npm install prettier - npx prettier . --check - name: Semantic Release uses: cycjimmy/semantic-release-action@v3 id: semantic diff --git a/.github/workflows/prepare_pr.yml b/.github/workflows/prepare_pr.yml new file mode 100644 index 0000000..955df1c --- /dev/null +++ b/.github/workflows/prepare_pr.yml @@ -0,0 +1,11 @@ +name: Prepare PR + +on: + pull_request: + branches: + - next + +jobs: + prepare: + uses: Geode-solutions/actions/.github/workflows/web/prepare-pr.yml@master + secrets: inherit diff --git a/.prettierrc b/.prettierrc index fa51da2..2041212 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,6 +1,4 @@ { - "trailingComma": "es5", - "tabWidth": 2, "semi": false, - "singleQuote": true + "vueIndentScriptAndStyle": true }