Skip to content

Commit 23a3522

Browse files
committed
Bump deps and use npm7
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
1 parent 0ada2bd commit 23a3522

12 files changed

Lines changed: 12891 additions & 4208 deletions

.github/workflows/lint.yml

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
php-versions: ['7.3', '7.4']
17-
16+
php-versions: ["7.3", "7.4", "8.0"]
17+
1818
name: php${{ matrix.php-versions }}
1919
steps:
20-
- uses: actions/checkout@v2
20+
- name: Checkout
21+
uses: actions/checkout@v2
2122

2223
- name: Set up php ${{ matrix.php-versions }}
23-
uses: shivammathur/setup-php@v1
24+
uses: shivammathur/setup-php@v2
2425
with:
2526
php-version: ${{ matrix.php-versions }}
2627
coverage: none
@@ -33,40 +34,40 @@ jobs:
3334

3435
strategy:
3536
matrix:
36-
php-versions: ['7.4']
37+
php-versions: ["7.4"]
3738

3839
name: cs php${{ matrix.php-versions }}
3940
steps:
40-
- name: Checkout
41-
uses: actions/checkout@v2
41+
- name: Checkout
42+
uses: actions/checkout@v2
4243

43-
- name: Set up php
44-
uses: shivammathur/setup-php@master
45-
with:
46-
php-version: ${{ matrix.php-versions }}
47-
coverage: none
44+
- name: Set up php
45+
uses: shivammathur/setup-php@v2
46+
with:
47+
php-version: ${{ matrix.php-versions }}
48+
coverage: none
4849

49-
- name: Install dependencies
50-
run: composer i
50+
- name: Install dependencies
51+
run: composer i
5152

52-
- name: Run coding standards check
53-
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
53+
- name: Run coding standards check
54+
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
5455

5556
node:
5657
runs-on: ubuntu-latest
5758

58-
strategy:
59-
matrix:
60-
node-version: [12.x]
61-
62-
name: eslint node${{ matrix.node-version }}
59+
name: eslint node
6360
steps:
64-
- uses: actions/checkout@v2
61+
- name: Checkout
62+
uses: actions/checkout@v2
6563

66-
- name: Set up node ${{ matrix.node-version }}
67-
uses: actions/setup-node@v1
64+
- name: Set up node
65+
uses: actions/setup-node@v2
6866
with:
69-
node-version: ${{ matrix.node-version }}
67+
node-version: 14
68+
69+
- name: Set up npm7
70+
run: npm i -g npm@7
7071

7172
- name: Install dependencies
7273
run: npm ci
@@ -77,18 +78,18 @@ jobs:
7778
stylelint:
7879
runs-on: ubuntu-latest
7980

80-
strategy:
81-
matrix:
82-
node-version: [12.x]
83-
84-
name: stylelint node${{ matrix.node-version }}
81+
name: stylelint node
8582
steps:
86-
- uses: actions/checkout@v2
83+
- name: Checkout
84+
uses: actions/checkout@v2
8785

88-
- name: Set up node ${{ matrix.node-version }}
89-
uses: actions/setup-node@v1
86+
- name: Set up node
87+
uses: actions/setup-node@v2
9088
with:
91-
node-version: ${{ matrix.node-version }}
89+
node-version: 14
90+
91+
- name: Set up npm7
92+
run: npm i -g npm@7
9293

9394
- name: Install dependencies
9495
run: npm ci

.github/workflows/node.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313

14-
strategy:
15-
matrix:
16-
node-version: [12.x]
17-
18-
name: node${{ matrix.node-version }}
14+
name: node
1915
steps:
20-
- uses: actions/checkout@v2
16+
- name: Checkout
17+
uses: actions/checkout@v2
2118

22-
- name: Set up node ${{ matrix.node-version }}
23-
uses: actions/setup-node@v1
19+
- name: Set up node
20+
uses: actions/setup-node@v2
2421
with:
25-
node-version: ${{ matrix.node-version }}
22+
node-version: 14
23+
24+
- name: Set up npm7
25+
run: npm i -g npm@7
2626

2727
- name: Install dependencies & build
2828
run: |

js/files_pdfviewer-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/files_pdfviewer-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/files_pdfviewer-public.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/files_pdfviewer-public.js.LICENSE.txt

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/*
2-
object-assign
3-
(c) Sindre Sorhus
4-
@license MIT
5-
*/
6-
71
/*!
82
* The buffer module from node.js, for the browser.
93
*
@@ -32,3 +26,25 @@ object-assign
3226
* along with this program. If not, see <http://www.gnu.org/licenses/>.
3327
*
3428
*/
29+
30+
/**
31+
* @copyright Copyright (c) 2021 John Molakvoæ <[email protected]>
32+
*
33+
* @author John Molakvoæ <[email protected]>
34+
*
35+
* @license GNU AGPL version 3 or any later version
36+
*
37+
* This program is free software: you can redistribute it and/or modify
38+
* it under the terms of the GNU Affero General Public License as
39+
* published by the Free Software Foundation, either version 3 of the
40+
* License, or (at your option) any later version.
41+
*
42+
* This program is distributed in the hope that it will be useful,
43+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
44+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45+
* GNU Affero General Public License for more details.
46+
*
47+
* You should have received a copy of the GNU Affero General Public License
48+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
49+
*
50+
*/

js/files_pdfviewer-public.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/files_pdfviewer-workersrc.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/files_pdfviewer-workersrc.js.LICENSE.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/*
2-
object-assign
3-
(c) Sindre Sorhus
4-
@license MIT
5-
*/
6-
71
/*!
82
* The buffer module from node.js, for the browser.
93
*

js/files_pdfviewer-workersrc.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)