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

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Reis <vinicius.reis@nextcloud.com>2022-05-04 00:08:56 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-05-04 00:08:56 +0300
commit0ba4e9d8bad893791ac9cdb5d3c0af5056431d9c (patch)
tree97a7f5a6a4d035eaa859327f7259dfbb3b3e5f42 /.github
parentc7ac810443818b3ee2f06a516caee4831e56a1d9 (diff)
⬆️ update actions/setup-node
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cypress.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
index 4004a485e..372a90e7b 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- node-version: [14.x]
+ node-version: [14]
# containers: [1, 2, 3]
php-versions: [ '7.4' ]
databases: [ 'sqlite' ]
@@ -27,14 +27,16 @@ jobs:
steps:
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
+ cache: 'npm'
+
- name: Set up npm7
run: npm i -g npm@7
- name: Checkout server
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
@@ -47,7 +49,7 @@ jobs:
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Checkout viewer
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
repository: nextcloud/viewer
ref: ${{ matrix.server-versions }}
@@ -57,10 +59,10 @@ jobs:
working-directory: apps/viewer
run: |
npm ci
- TESTING=true npm run build --if-present
+ TESTING=true npm run build
- name: Checkout ${{ env.APP_NAME }}
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
path: apps/${{ env.APP_NAME }}