mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-24 12:35:05 +00:00
30 lines
609 B
YAML
30 lines
609 B
YAML
name: Webpack Test
|
|
|
|
on: [pull_request, push]
|
|
|
|
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 "Dev" > dist/VERSION
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: DribbblishDynamic_vDev
|
|
path: dist/**
|