Skip to content

Commit b08b861

Browse files
authored
chore: Add more aggressive GitHub actions caching (#637)
1 parent 4a0ac84 commit b08b861

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

.github/actions/setup-node-pnpm/action.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@ description: Setup Node and PNPM
33
runs:
44
using: "composite"
55
steps:
6+
- name: cache output directories
7+
uses: actions/cache@v4
8+
with:
9+
path: |
10+
.astro
11+
.cache
12+
dist
13+
node_modules
14+
key: ${{ runner.os }}-output-${{ hashFiles('**/pnpm-lock.yaml') }}
615
- name: "setup pnpm"
716
uses: "pnpm/action-setup@v4"
817
- name: "setup node"
918
uses: "actions/setup-node@v4"
1019
with:
11-
cache: "pnpm"
1220
node-version: 22

src/content/docs/paper/dev/api/component-api/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Paper and Velocity natively implements the Adventure API to add component suppor
1818

1919
Previously, text was a linear structure with the only formatting options being
2020
confusing symbols like `§c` and `§k` to control basic colors and styles of text.
21-
Components are a tree-like structure which inherit style and colors from their parents.
21+
Components are a tree-like structure that inherits style and colors from their parents.
2222

2323
Components have several types which do different things than just display raw text, like
2424
translating text to the client's language based on a key, or showing a client-specific keybind

src/content/docs/paper/dev/api/plugin-messaging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ For example, if a certain player is banned on one server, you can forward a mess
195195

196196
:::caution[Example of banning a player on all servers]
197197

198-
This is not a recommended way to ban players, due to the fact that there may not be anyone online on the target servers,
198+
This is not a recommended way to ban players, because there may not be anyone online on the target servers,
199199
but it is an example of how this can be used.
200200

201201
:::

src/content/docs/paper/dev/api/registries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ final Enchantment enchantment = enchantmentRegistry.getOrThrow(EnchantmentKeys.S
6868

6969
### Referencing registry values
7070

71-
Referencing entries in a registry is easier said then done.
72-
While for most cases a plain [Collection](jd:java:java.util.Collection) of the values might suffice, alternative approaches are
71+
Referencing entries in a registry is easier said than done.
72+
While in most cases, a plain [Collection](jd:java:java.util.Collection) of the values might suffice, alternative approaches are
7373
more often used by Minecraft and will hence be encountered.
7474

7575
A [`RegistrySet`](jd:paper:io.papermc.paper.registry.set.RegistrySet) defines a

0 commit comments

Comments
 (0)