add CI workflow for automated build and deployment
Some checks failed
CI / build-and-publish (push) Has been cancelled
Some checks failed
CI / build-and-publish (push) Has been cancelled
This commit is contained in:
28
.gitea/workflows/ci.yml
Normal file
28
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master, dev]
|
||||||
|
pull_request:
|
||||||
|
branches: [master, dev]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '24'
|
||||||
|
|
||||||
|
- run: npm install -g pnpm
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Run TSC Build
|
||||||
|
run: pnpm build
|
||||||
|
|
||||||
|
- name: Kiss Goodbye
|
||||||
|
run: echo "Build and tests passed! Ready to deploy. 😘"
|
||||||
Reference in New Issue
Block a user