Skip to content

Commit 318bfcf

Browse files
committed
🐎 ci: test deploy to pages
1 parent 9d6fc56 commit 318bfcf

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
File renamed without changes.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Deploy chili3d to Pages
2+
3+
on:
4+
push:
5+
branches: [ "test" ]
6+
pull_request:
7+
branches: [ "test" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [20.x, 22.x]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
25+
- name: Build
26+
run: |
27+
npm install
28+
npm run build
29+
rm -rf dist/*.map
30+
31+
- name: Upload GitHub Pages artifact
32+
uses: actions/[email protected]
33+
with:
34+
name: chili3d
35+
path: dist/

0 commit comments

Comments
 (0)