Skip to content

Commit

Permalink
Merge pull request #1666 from nextcloud/deps/node
Browse files Browse the repository at this point in the history
Bump node version on github actions
  • Loading branch information
PVince81 authored Jun 17, 2021
2 parents 24664ca + f693c74 commit 6941b14
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [14.x]

steps:
- uses: actions/checkout@v1
- 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: npm install, build
run: |
npm ci
Expand Down

0 comments on commit 6941b14

Please sign in to comment.