ci: add bs3 build workflow (wip)

This commit is contained in:
Nicolas Giard 2022-03-04 17:43:55 -05:00 committed by GitHub
parent e29637b7e2
commit c1e7c9534b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

35
.github/workflows/main.yml vendored Normal file
View 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