Skip to content

Commit c175d2a

Browse files
authored
Merge pull request #19 from kstatelibraries/workflow
build(zip.yml): adding a github workflow to build the angular applica…
2 parents b3c7b0e + c579ba7 commit c175d2a

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/zip.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build and Collect ZIP
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v4
12+
13+
- name: Use Node.js
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: '24'
17+
cache: 'npm'
18+
19+
- name: Install dependencies
20+
run: npm ci
21+
22+
- name: Build
23+
run: npm run build
24+
25+
- name: Stage output folder
26+
run: |
27+
rm -rf staging
28+
mkdir -p staging
29+
mv dist/01KSU_INST-KSU staging/
30+
31+
- name: Upload artifact
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: 01KSU_INST-KSU
35+
path: staging/

0 commit comments

Comments
 (0)