Skip to content

Commit 9d547b1

Browse files
committed
test workflow
1 parent 223562c commit 9d547b1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test Manual Publish
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build-and-publish:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Set up Node.js
12+
uses: actions/setup-node@v2
13+
with:
14+
node-version: '16.18.0'
15+
16+
- name: Checkout repository
17+
uses: actions/checkout@v2
18+
19+
- name: Install dependencies
20+
run: npm ci --force
21+
22+
- name: Build for production
23+
run: npm run build:prod
24+
25+
- name: Log dist folder size
26+
run: |
27+
dist_size=$(du -sh dist | cut -f1)
28+
echo "dist folder size: $dist_size"

0 commit comments

Comments
 (0)