[studio] Add GitHub Action

This commit is contained in:
Voxel 2024-04-05 12:52:30 -04:00
parent ca3bda8b75
commit fc784699ac

26
.github/workflows/_studio.yml vendored Normal file
View file

@ -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