Skip to content

Commit c1e7c95

Browse files
authored
ci: add bs3 build workflow (wip)
1 parent e29637b commit c1e7c95

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Publish BS3
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths: [ bootstrap/** ]
7+
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
depth: 0
18+
19+
- name: Setup Node.js 16.x
20+
uses: actions/setup-node@v3.0.0
21+
with:
22+
node-version: 16.x
23+
24+
- name: Build Release
25+
working-directory: bootstrap
26+
run: |
27+
npm install -g grunt-cli
28+
npm ci
29+
grunt dist
30+
31+
- name: Upload a Build Artifact
32+
uses: actions/upload-artifact@v3.0.0
33+
with:
34+
name: dist
35+
path: bootstrap/dist

0 commit comments

Comments
 (0)