Create yarn_webpack_dev.yml

This commit is contained in:
2023-12-26 15:10:26 -05:00
committed by RavenX8
parent 79ff3ce5a4
commit 0f2acae2e1

30
.github/workflows/yarn_webpack_dev.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Create development package using webpack
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: yarn
- name: Test webpack development
run: yarn companion-module-build --dev