Skip to content

Bump webpack-merge from 5.8.0 to 6.0.1 #1537

Bump webpack-merge from 5.8.0 to 6.0.1

Bump webpack-merge from 5.8.0 to 6.0.1 #1537

Workflow file for this run

name: Node.js CI
on:
push:
paths-ignore:
- '**.md'
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Read node version from .nvmrc
id: nvmrc
uses: browniebroke/read-nvmrc-action@v1
- uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvmrc.outputs.node_version }}'
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- run: npm ci
- run: npm run test:coverage
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
directory: coverage
flags: unittests
linter:
runs-on: ubuntu-latest
# Linters are not run on PRs created by dependabot because these runs lack
# the secret required to create Github Status Checks and will not have new
# linter issues anyway.
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v3
- name: Read node version from .nvmrc
id: nvmrc
uses: browniebroke/read-nvmrc-action@v1
- uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvmrc.outputs.node_version }}'
- uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- run: npm ci
- run: npm run lint