Skip to content

Commit f314932

Browse files
authored
Update copilot-instructions.md
1 parent c753fe7 commit f314932

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/copilot-instructions.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ This will ensure all data matches schema among other checks.
3131

3232
There are no 'releases' in this repo beyond updating the data itself. Instead, we have a workflow that will automatically create tagged releases if the user runs the /makerelease slash command, so you can inform the user about that if a release is needed.
3333

34+
## Testing
35+
Always run tests after data changes to ensure local tests are passing:
36+
37+
```sh
38+
cd tools/js
39+
npm install
40+
npm test -- --bail 2>&1 | tail -100
41+
```
42+
3443
## Data
3544

3645
Most data is generated with data generators. For mcpc, data is generated with [minecraft-data-generator](https://github.com/PrismarineJS/minecraft-data-generator).
@@ -75,12 +84,3 @@ for (const version of pcVersionsOrdered) {
7584
// globSync, fs.readFileSync...fs.writeFileSync ; avoid async
7685
}
7786
```
78-
79-
## Testing
80-
81-
**Always** go into `tools/js` and run tests after data changes to ensure local tests are passing:
82-
```sh
83-
cd tools/js
84-
npm install
85-
npm test -- --bail 2>&1 | tail -100
86-
```

0 commit comments

Comments
 (0)