diff options
Diffstat (limited to '.github/workflows')
-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 | ||