mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-26 13:31:45 +00:00
add webpack test-build on pr and push
This commit is contained in:
parent
294e69b3d8
commit
9a47d3bbfc
1 changed files with 28 additions and 0 deletions
28
.github/workflows/webpack-test.yml
vendored
Normal file
28
.github/workflows/webpack-test.yml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
name: Webpack Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
webpack:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: "14"
|
||||||
|
|
||||||
|
- name: Test-Build Webpack
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
echo "${{ github.event.inputs.version }}" > dist/VERSION
|
||||||
Loading…
Reference in a new issue