@internetarchive/bookreader 5.0.0-71 → 5.0.0-72

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,11 +14,11 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v3
18
- - uses: actions/setup-node@v3
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-node@v4
19
19
  with:
20
20
  # Keep in sync with netlify.toml
21
- node-version: 16.x
21
+ node-version: 20.x
22
22
  - name: Cache node_modules
23
23
  uses: actions/cache@v3
24
24
  id: cache
@@ -29,7 +29,7 @@ jobs:
29
29
  # we don't use `npm ci` specifically to try to get faster CI flows. So caching
30
30
  # `node_modules` directly.
31
31
  path: 'node_modules'
32
- key: ${{ runner.os }}-node-16-${{ hashFiles('package*.json') }}
32
+ key: ${{ runner.os }}-node-20-${{ hashFiles('package*.json') }}
33
33
  - if: steps.cache.outputs.cache-hit != 'true'
34
34
  run: npm install
35
35
 
@@ -37,16 +37,16 @@ jobs:
37
37
  needs: install
38
38
  runs-on: ubuntu-latest
39
39
  steps:
40
- - uses: actions/checkout@v3
41
- - uses: actions/setup-node@v3
40
+ - uses: actions/checkout@v4
41
+ - uses: actions/setup-node@v4
42
42
  with:
43
- node-version: 16.x
43
+ node-version: 20.x
44
44
  - name: Load node_modules from cache
45
45
  uses: actions/cache@v3
46
46
  with:
47
47
  # Use node_modules from previous jobs
48
48
  path: 'node_modules'
49
- key: ${{ runner.os }}-node-16-${{ hashFiles('package*.json') }}
49
+ key: ${{ runner.os }}-node-20-${{ hashFiles('package*.json') }}
50
50
  - name: Cache BookReader/
51
51
  uses: actions/cache@v3
52
52
  id: build-cache
@@ -61,16 +61,16 @@ jobs:
61
61
  needs: install
62
62
  runs-on: ubuntu-latest
63
63
  steps:
64
- - uses: actions/checkout@v3
65
- - uses: actions/setup-node@v3
64
+ - uses: actions/checkout@v4
65
+ - uses: actions/setup-node@v4
66
66
  with:
67
- node-version: 16.x
67
+ node-version: 20.x
68
68
  - name: Load node_modules from cache
69
69
  uses: actions/cache@v3
70
70
  with:
71
71
  # Use node_modules from previous jobs
72
72
  path: 'node_modules'
73
- key: ${{ runner.os }}-node-16-${{ hashFiles('package*.json') }}
73
+ key: ${{ runner.os }}-node-20-${{ hashFiles('package*.json') }}
74
74
  - run: npm run lint
75
75
  - run: npm run test
76
76
  - run: npm run codecov
@@ -79,16 +79,16 @@ jobs:
79
79
  needs: build
80
80
  runs-on: ubuntu-latest
81
81
  steps:
82
- - uses: actions/checkout@v3
83
- - uses: actions/setup-node@v3
82
+ - uses: actions/checkout@v4
83
+ - uses: actions/setup-node@v4
84
84
  with:
85
- node-version: 16.x
85
+ node-version: 20.x
86
86
  - name: Load node_modules from cache
87
87
  uses: actions/cache@v3
88
88
  with:
89
89
  # Use node_modules from previous jobs
90
90
  path: 'node_modules'
91
- key: ${{ runner.os }}-node-16-${{ hashFiles('package*.json') }}
91
+ key: ${{ runner.os }}-node-20-${{ hashFiles('package*.json') }}
92
92
  - name: Load BookReader/ from cache
93
93
  uses: actions/cache@v3
94
94
  with:
@@ -11,10 +11,10 @@ jobs:
11
11
  build:
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
- - uses: actions/checkout@v3
15
- - uses: actions/setup-node@v3
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-node@v4
16
16
  with:
17
- node-version: 16
17
+ node-version: 20
18
18
  - run: npm ci
19
19
  - run: npm test
20
20
 
@@ -22,10 +22,10 @@ jobs:
22
22
  needs: build
23
23
  runs-on: ubuntu-latest
24
24
  steps:
25
- - uses: actions/checkout@v3
26
- - uses: actions/setup-node@v3
25
+ - uses: actions/checkout@v4
26
+ - uses: actions/setup-node@v4
27
27
  with:
28
- node-version: 16
28
+ node-version: 20
29
29
  registry-url: https://registry.npmjs.org/
30
30
  - run: npm ci
31
31
  - run: npm publish --tag next