Switch to nari from yarn #165
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 | |
- name: "Use Node.js 16.x" | |
uses: actions/setup-node@master | |
with: | |
node-version: 16.x | |
- name: "Install nari" | |
run: | | |
npm i -g nari | |
- name: Install Webpack ${{ matrix.webpack-version }} | |
run: | | |
nari add webpack@${{ matrix.webpack-version }} | |
- name: Run tests | |
run: nari test |