diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-06-15 11:19:26 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-17 17:48:26 +0300 |
commit | ef81aec2b7f28a50d388c05f3ad7a05fcebfc078 (patch) | |
tree | c8313c3ab96f44387ebe4b039f8791334dc40342 /.github | |
parent | 1915022b33e378ff4c9abc3c1dc1718346fb4914 (diff) |
Adjust eslint + stylelint node and npm versions
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bf133cc11..ff694a7e8 100644 --- a/.github/workflows/lint.yml +++ b/.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 |