diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..841e3b9e --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,21 @@ +name: Docs + +on: + push: + branches: [master, release] + paths: ['docs/**'] + pull_request: + paths: ['docs/**'] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build + uses: withastro/action@v2 + with: + path: docs diff --git a/docs/package.json b/docs/package.json index 55373336..55c865a0 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,7 @@ { "name": "docs", "type": "module", + "packageManager": "pnpm@9.15.2", "version": "0.0.1", "scripts": { "dev": "astro dev", @@ -28,4 +29,4 @@ "js-yaml": "^4.1.0", "lightningcss": "^1.24.1" } -} \ No newline at end of file +}