ci: add bs3 build workflow (wip)
This commit is contained in:
parent
e29637b7e2
commit
c1e7c9534b
35
.github/workflows/main.yml
vendored
Normal file
35
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
name: Publish BS3
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
paths: [ bootstrap/** ]
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
depth: 0
|
||||||
|
|
||||||
|
- name: Setup Node.js 16.x
|
||||||
|
uses: actions/setup-node@v3.0.0
|
||||||
|
with:
|
||||||
|
node-version: 16.x
|
||||||
|
|
||||||
|
- name: Build Release
|
||||||
|
working-directory: bootstrap
|
||||||
|
run: |
|
||||||
|
npm install -g grunt-cli
|
||||||
|
npm ci
|
||||||
|
grunt dist
|
||||||
|
|
||||||
|
- name: Upload a Build Artifact
|
||||||
|
uses: actions/upload-artifact@v3.0.0
|
||||||
|
with:
|
||||||
|
name: dist
|
||||||
|
path: bootstrap/dist
|
Loading…
Reference in a new issue