⭐ Star
this repository if you find it valuable and worth maintaining.
👁 Watch
this repository to get notified about new releases, issues, etc.
This is a GitHub repository template for a astro website. You can use it:
- to create a new repoisitory with automation and environment setup,
- as reference when improving automation for an existing repository.
It includes:
- continuous integration via GitHub Actions,
- build automation via Yarn,
- dependency management using NPM Packages,
- code formatting and linting using eslint,
- dependencies scanning and updating thanks to Dependabot,
- security code analysis using CodeQL Action,
- resource relocation for intensive scripts with Partytown
- Click the
Use this template
button (alt. clone or download this repository). - Replace all occurrences of
runtime-machines/astro-template
toyour_org/repo_name
in all files. - Replace all occurrences of
astro-template
torepo_name
in all files. - Update the following files:
yarn
yarn dev
yarn build
yarn lint:eslint
This setup uses Browserslist to target browsers.
The default list of supported browsers is listed in the package.json
file:
{
"browserslist": {
"production": [">0.2%", "not dead", "not op_mini all"],
"development": ["last 1 chrome version", "last 1 firefox version", "last 1 safari version"]
}
}
This means that supported browsers vary based on current usage data.
This project license