Browse Source
Adjust eslint + stylelint node and npm versions
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
pull/5773/head
Vincent Petry
4 years ago
committed by
Joas Schilling
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with
11 additions and
13 deletions
-
.github/workflows/lint.yml
|
|
@ -55,18 +55,17 @@ jobs: |
|
|
|
node: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
node-versions: [12.x] |
|
|
|
|
|
|
|
name: eslint node${{ matrix.node-versions }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
- name: Set up node ${{ matrix.node-versions }} |
|
|
|
uses: actions/setup-node@v1 |
|
|
|
- name: Set up node |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
with: |
|
|
|
node-version: ${{ matrix.node-versions }} |
|
|
|
node-version: 14 |
|
|
|
|
|
|
|
- name: Set up npm7 |
|
|
|
run: npm i -g npm@7 |
|
|
|
|
|
|
|
- name: Install dependencies |
|
|
|
run: npm ci |
|
|
@ -77,18 +76,17 @@ jobs: |
|
|
|
stylelint: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
node-versions: [12.x] |
|
|
|
|
|
|
|
name: stylelint node${{ matrix.node-versions }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
- name: Set up node ${{ matrix.node-versions }} |
|
|
|
uses: actions/setup-node@v1 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
with: |
|
|
|
node-version: ${{ matrix.node-versions }} |
|
|
|
node-version: 14 |
|
|
|
|
|
|
|
- name: Set up npm7 |
|
|
|
run: npm i -g npm@7 |
|
|
|
|
|
|
|
- name: Install dependencies |
|
|
|
run: npm ci |
|
|
|