From 21041a501b905afabb33c0b2c444f180e931c0c8 Mon Sep 17 00:00:00 2001 From: Michael Chan Date: Fri, 22 Mar 2024 23:20:07 -0700 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 00000000..a1eb5080 --- /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