From 0658eb3b3b76a9a7aa35b8979e7f896143ba1152 Mon Sep 17 00:00:00 2001 From: "dong.nguyen" Date: Sat, 10 Oct 2026 00:17:29 +0700 Subject: [PATCH] added gited action --- .gitea/workflows/deploy.yml | 15 +++++++++++++++ package.json | 8 ++++++++ 2 files changed, 23 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..a01f912 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,15 @@ +name: Deploy Static Site + +on: + push: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: pnpm/setup@v3 + - run: node --version + - run: pnpm test \ No newline at end of file diff --git a/package.json b/package.json index c458609..ea9c56a 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,14 @@ "private": true, "version": "0.0.0", "type": "module", + "packageManager": "pnpm@12.4.1", + "devEngines": { + "runtime": { + "name": "node", + "version": "^24.0.0", + "onFailure": "download" + } + }, "scripts": { "dev": "vite", "build": "tsc -b && vite build",