diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 90d7735837e..071cf1a5516 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -14,13 +14,20 @@ jobs: strategy: fail-fast: false matrix: - node-version: [12.x] + node-version: [14.x] # containers: [1, 2, 3] php-versions: [ '7.4' ] databases: [ 'sqlite' ] server-versions: [ 'master' ] steps: + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Set up npm7 + run: npm i -g npm@7 + - name: Checkout server uses: actions/checkout@v2 with: @@ -41,11 +48,6 @@ jobs: ref: ${{ matrix.server-versions }} path: apps/viewer - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: npm install, build viewer in testing mode working-directory: apps/viewer run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4ccf9777354..f1cbbdcef0a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,7 +27,9 @@ jobs: - name: Set up Node uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 14.x + - name: Set up npm7 + run: npm i -g npm@7 - name: npm install run: npm ci - name: eslint diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index cda38871595..dd259ace291 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [14.x] steps: - uses: actions/checkout@v1 @@ -17,6 +17,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} + - name: Set up npm7 + run: npm i -g npm@7 - name: npm install, build run: | npm ci