diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-10-12 07:27:11 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-10-12 07:27:11 +0530 |
commit | 18a30f0bd60351d3337c4a7b53b87890152cf856 (patch) | |
tree | a555d380e6bcb45ec003baa2750e4f01ae2f0872 /.github/workflows | |
parent | add neel1996 as a contributor for code (#667) [skip ci] (diff) | |
download | ferdium-app-18a30f0bd60351d3337c4a7b53b87890152cf856.tar.gz ferdium-app-18a30f0bd60351d3337c4a7b53b87890152cf856.tar.zst ferdium-app-18a30f0bd60351d3337c4a7b53b87890152cf856.zip |
Missed installing dependencies before running npm scripts
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/builds.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 8ee21fb7d..e9f58c5c7 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -51,6 +51,15 @@ jobs: | |||
51 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | 51 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} |
52 | with: | 52 | with: |
53 | node-version-file: ".nvmrc" | 53 | node-version-file: ".nvmrc" |
54 | - name: Install npm | ||
55 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | ||
56 | run: npm i -gf "npm@$(node -p 'require("./package.json").engines.npm')" && npm -v | ||
57 | - name: Install pnpm | ||
58 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | ||
59 | run: npm i -gf "pnpm@$(node -p 'require("./recipes/package.json").engines.pnpm')" && pnpm -v | ||
60 | - name: Install node dependencies | ||
61 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | ||
62 | run: npm i | ||
54 | - id: should_run | 63 | - id: should_run |
55 | name: Check whether there are any commits since this run was last triggered and push them and/or set the output | 64 | name: Check whether there are any commits since this run was last triggered and push them and/or set the output |
56 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | 65 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} |