Bump webpack from 5.74.0 to 5.94.0 #162
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test webpack-virtual-modules | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
webpack-version: [3, 4, 5] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
./.yarn/releases | |
./.yarn/cache | |
key: ${{ runner.os }}-install-${{ hashFiles('yarn.lock') }}-v4 | |
- name: "Use Node.js 16.x" | |
uses: actions/setup-node@master | |
with: | |
node-version: 16.x | |
- name: Install Webpack ${{ matrix.webpack-version }} | |
run: | | |
corepack enable | |
yarn config set enableMirror false | |
yarn config set enableGlobalCache false | |
yarn add webpack@${{ matrix.webpack-version }} | |
- name: Run tests | |
run: yarn test |