Files
tabletop-web/.gitea/workflows/ci.yml
T
ysj7705 5e72061019
CI / Type-check & Build (push) Successful in 44s
ci artifact 기능 추가
2026-06-24 11:24:59 +09:00

38 lines
698 B
YAML

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Type-check & Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install dependencies
run: npm ci
- name: Type-check and build
run: npm run build
- name: Upload dist
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: christopherhx/gitea-upload-artifact@v4
with:
name: dist
path: dist/
overwrite: true