Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-10-09 15:11:38 +0300
committerdartcafe <github@dartcafe.de>2021-10-09 15:11:38 +0300
commit576e083b0faf745be771dd4a8fb575aab867467c (patch)
tree2434f4a58600b227dbca1a77cd79afa84fee9c9f
parent64a76482819daef0fbb225a67135ef03767169d7 (diff)
try forcing npm 7
Signed-off-by: dartcafe <github@dartcafe.de>
-rw-r--r--.github/workflows/nodejs.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
index ad2bc60e..46bb96f7 100644
--- a/.github/workflows/nodejs.yml
+++ b/.github/workflows/nodejs.yml
@@ -10,16 +10,17 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x]
+ npm-version: [7]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
+ - name: Set up npm ${{ matrix.npm-version }}
+ run: npm i -g npm@"${{ matrix.npm-version }}"
- name: install dependencies
- run: |
- npm ci
+ run: npm ci
- name: build
- run: |
- npm run build --if-present
+ run: npm run build --if-present