diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index fce1892d58ebbbaa6fe2d4159b2c0714c8e0e1c2..120b69a47a674634d7018a752b5af401d5681e83 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -12,13 +12,16 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [14.x, 16.x, 17.x] steps: - uses: actions/checkout@v2 - - name: Use Node.js 14.x + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: ${{ matrix.node-version }} - run: npm install -g codecov - run: npm install - run: npm test diff --git a/webpack.config.js b/webpack.config.js index 3f78b6cad3e2a3339c9801046e1b21ef5bb89b0a..69be72ce98fe4121b47632e383c5ff73a6f57cec 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -33,6 +33,7 @@ const baseConfig = mode => ({ }, output: { filename: 'mirador.min.js', + hashFunction: 'md5', library: 'Mirador', libraryExport: 'default', libraryTarget: 'umd',