Skip to content

Commit ef0ab38

Browse files
mejackreedcbeer
authored andcommitted
Setup testing for multiple nodejs versions
1 parent c79d878 commit ef0ab38

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ on:
1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
node-version: [14.x, 16.x, 17.x]
1518

1619
steps:
1720
- uses: actions/checkout@v2
18-
- name: Use Node.js 14.x
21+
- name: Use Node.js ${{ matrix.node-version }}
1922
uses: actions/setup-node@v1
2023
with:
21-
node-version: 14.x
24+
node-version: ${{ matrix.node-version }}
2225
- run: npm install -g codecov
2326
- run: npm install
2427
- run: npm test

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const baseConfig = mode => ({
3333
},
3434
output: {
3535
filename: 'mirador.min.js',
36+
hashFunction: 'md5',
3637
library: 'Mirador',
3738
libraryExport: 'default',
3839
libraryTarget: 'umd',

0 commit comments

Comments
 (0)