Browse Source

feat(devcontainer): add postCreateCommand for Prettier installation

* Added `postCreateCommand` to install Prettier and related plugins.
* Ensures that the development environment is set up with necessary tools.
repo-sync/main
Daniel Gibbs 1 day ago
parent
commit
646657418b
Failed to extract signature
  1. 3
      .devcontainer/devcontainer.json
  2. 2
      .github/workflows/action-docker-publish.yml

3
.devcontainer/devcontainer.json

@ -23,5 +23,6 @@
"yzhang.markdown-all-in-one"
]
}
}
},
"postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
}

2
.github/workflows/action-docker-publish.yml

@ -158,7 +158,7 @@ jobs:
package-cleanup:
name: Cleanup Old GitHub Packages
needs: [ build-ubuntu-2004, build-ubuntu-2204, build-ubuntu-2404 ]
needs: [build-ubuntu-2004, build-ubuntu-2204, build-ubuntu-2404]
runs-on: ubuntu-latest
steps:
- name: Delete Package Versions

Loading…
Cancel
Save