From c1e7c9534ba9a79f32262add40d8ff24b772370c Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Fri, 4 Mar 2022 17:43:55 -0500 Subject: [PATCH] ci: add bs3 build workflow (wip) --- .github/workflows/main.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..97e92c80f --- /dev/null +++ b/.github/workflows/main.yml @@ -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