mirror of
https://github.com/skillbert/rsmv.git
synced 2025-12-23 21:47:48 -05:00
Probably still works on node 12 and 14, but there are some issues with the corresponding version of npm not understanding the newer lockfile
31 lines
555 B
YAML
31 lines
555 B
YAML
name: Test webpack builds
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [18.x, 16.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Build
|
|
run: npm install
|
|
- name: Web build
|
|
run: npm run web
|
|
- name: Node/electron build
|
|
run: npm run build
|