diff options
author | 2022-07-13 20:41:40 +0200 | |
---|---|---|
committer | 2022-07-13 19:41:40 +0100 | |
commit | 6df50c4a5f933b4bfa0726184c295e7c2a62ae0d (patch) | |
tree | f30fb835ab8f9fc004c39a7b7d557b0bb6110371 /.github/workflows/builds.yml | |
parent | fix: messenger badge counter and hideInstallMessage (diff) | |
download | ferdium-recipes-6df50c4a5f933b4bfa0726184c295e7c2a62ae0d.tar.gz ferdium-recipes-6df50c4a5f933b4bfa0726184c295e7c2a62ae0d.tar.zst ferdium-recipes-6df50c4a5f933b4bfa0726184c295e7c2a62ae0d.zip |
ci: add lint and prettier to the pr checks (#127)
* ci: add lint and prettier to the pr checks
* bad position of function in messenger ⇒ ci fail
* Revert "bad position of function in messenger ⇒ ci fail"
This reverts commit f8ea1aa674f479093c89f3e7dc6b0ce386003285.
Diffstat (limited to '.github/workflows/builds.yml')
-rw-r--r-- | .github/workflows/builds.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 806b2a2..9a3533e 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -14,7 +14,7 @@ on: | |||
14 | workflow_dispatch: | 14 | workflow_dispatch: |
15 | inputs: | 15 | inputs: |
16 | message: | 16 | message: |
17 | description: 'Message for build' | 17 | description: "Message for build" |
18 | required: true | 18 | required: true |
19 | 19 | ||
20 | jobs: | 20 | jobs: |
@@ -31,8 +31,13 @@ jobs: | |||
31 | - name: Use Node.js specified in the '.nvmrc' file | 31 | - name: Use Node.js specified in the '.nvmrc' file |
32 | uses: actions/setup-node@v3 | 32 | uses: actions/setup-node@v3 |
33 | with: | 33 | with: |
34 | node-version-file: '.nvmrc' | 34 | node-version-file: ".nvmrc" |
35 | - name: Install pnpm | 35 | - name: Install pnpm |
36 | run: npm i -gf "pnpm@$(node -p 'require("./package.json").engines.pnpm')" && pnpm -v | 36 | run: npm i -gf "pnpm@$(node -p 'require("./package.json").engines.pnpm')" && pnpm -v |
37 | - name: Install node dependencies recursively | 37 | - name: Install node dependencies recursively |
38 | run: pnpm i && pnpm lint && pnpm reformat-files && pnpm package | 38 | run: pnpm i |
39 | - name: Check code style and formatting | ||
40 | if: ${{ github.event_name == 'pull_request' }} | ||
41 | run: pnpm lint && pnpm reformat-files | ||
42 | - name: Package recipes | ||
43 | run: pnpm package | ||