mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
78973eaf3f
This implements an initial GitHub Actions workflow for us - to be run on PRs and on `main` commits. This just implements a really simple `style/fmt` check - running `prettier` on the `README.md`. I assumed we'll stick with using a top-level `Makefile` for commands like in `m` and `link` - but open to alternatives, too! Since I was adding a `package.json` and `node_modules` for this, I realized we were missing `.gitignore`s, so I added some a subset of the ignore files from `coder/m`
14 lines
387 B
JSON
14 lines
387 B
JSON
{
|
|
"name": "coder-v2",
|
|
"description": "Coder V2 (Workspaces V2)",
|
|
"repository": "https://github.com/coder/coder",
|
|
"private": true,
|
|
"scripts": {
|
|
"format:check": "prettier --check '**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
|
|
"format:write": "prettier --write '**/*.{css,htmljs,json,jsx,md,ts,tsx,yaml,yml}'"
|
|
},
|
|
"devDependencies": {
|
|
"prettier": "2.5.1"
|
|
}
|
|
}
|