Skip to content

chore: Update the GitHub Actions to run on different OS #1

chore: Update the GitHub Actions to run on different OS

chore: Update the GitHub Actions to run on different OS #1

Workflow file for this run

name: Webpack Front-End Starter Setup
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node_version:
- 12
- 14
- 16
architecture:
- x64
# an extra windows-x86 run:
include:
- os: windows-2016
node_version: 12
architecture: x86
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
- name: Install dependencies
run: npm ci
- name: Update the latest version of NPM dependencies
run: npm update
- name: Run Webpack Dev
run: npm run dev