From 4be0295080e391a20eb810163cb6000ebfae56dd Mon Sep 17 00:00:00 2001 From: XLor Date: Wed, 13 Mar 2024 01:57:34 +0800 Subject: [PATCH] [studio] Add GitHub Action --- .github/workflows/_studio.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/_studio.yml diff --git a/.github/workflows/_studio.yml b/.github/workflows/_studio.yml new file mode 100644 index 0000000..a1eb508 --- /dev/null +++ b/.github/workflows/_studio.yml @@ -0,0 +1,26 @@ +name: Astro Studio + +env: + ASTRO_STUDIO_APP_TOKEN: ${{secrets.ASTRO_STUDIO_APP_TOKEN }} + +on: + push: + branches: + - main + pull_request: + types: [opened, reopened, synchronize] + +jobs: + DB: + permissions: + contents: read + actions: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - uses: jaid/action-npm-install@v1.2.1 + - uses: withastro/action-studio@main