diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..221e98d --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,17 @@ +{ + "name": "node-template", + "image": "mcr.microsoft.com/devcontainers/javascript-node:22", + "postCreateCommand": "corepack enable && pnpm install", + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode" + ], + "settings": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode" + } + } + } +} diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy.yml similarity index 75% rename from .github/workflows/deploy-docs.yml rename to .github/workflows/deploy.yml index 4b12b59..2f9e2b0 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ # Source: theholocron/holocron ยท packages/cli/src/commands/setup-workflows.ts # Tool: holocron sync-github # Changes: edit source in theholocron/holocron and push to alpha or main. -name: Deploy Docs +name: Deploy on: # yamllint disable-line rule:truthy push: @@ -21,7 +21,10 @@ permissions: id-token: write jobs: - deploy-docs: - name: Deploy Docs - uses: theholocron/.github/.github/workflows/deploy-docs.yml@main + deploy: + name: Deploy + uses: theholocron/.github/.github/workflows/deploy.yml@main + with: + type: docs + name: node-template secrets: inherit diff --git a/holocron.config.ts b/holocron.config.ts index 4dceef9..2ef2dcc 100644 --- a/holocron.config.ts +++ b/holocron.config.ts @@ -23,11 +23,7 @@ export default defineConfig({ ...workflows, "audit", { name: "release", with: { "run-build": true } }, - { - name: "deploy-docs", - with: { name: "node-template", "use-turbo": false }, - paths: ["docs/**"], - }, + { name: "deploy", with: { type: "docs", name: "node-template" }, paths: ["docs/**"] }, ], providers: { ...providers,