Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/actions/setup-node-pnpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ runs:
- name: setup node
uses: actions/setup-node@v6
with:
cache: pnpm
package-manager-cache: false
node-version: 22

- name: Set up pnpm cache
uses: namespacelabs/nscloud-cache-action@v1
with:
cache: pnpm

- name: cache sharp output
uses: actions/cache@v5
uses: namespacelabs/nscloud-cache-action@v1
if: ${{ inputs.build-cache == 'true' }}
with:
path: node_modules/.astro/assets
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:

jobs:
build-preview:
runs-on: "ubuntu-latest"
runs-on: namespace-profile-linux-default
name: "Build Preview Site and Upload Build Artifact"
steps:
- name: "checkout"
uses: actions/checkout@v6
uses: namespacelabs/nscloud-checkout-action@v9
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
deploy-preview:
runs-on: "ubuntu-latest"
runs-on: namespace-profile-linux-default
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: "Deploy Preview to Cloudflare Pages"
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:

jobs:
deploy:
runs-on: "ubuntu-latest"
runs-on: namespace-profile-linux-default
permissions:
contents: read
deployments: write
pull-requests: write
steps:
- name: "checkout"
uses: actions/checkout@v6
uses: namespacelabs/nscloud-checkout-action@v9
with:
fetch-depth: 0
- name: "setup node and pnpm"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
# run on all push events or on PR syncs not from the same repo
if: github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name

runs-on: ubuntu-latest
runs-on: namespace-profile-linux-default
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: namespacelabs/nscloud-checkout-action@v9
- name: "setup node and pnpm"
uses: ./.github/actions/setup-node-pnpm
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
# run on all push events or on PR syncs not from the same repo
if: github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name

runs-on: ubuntu-latest
runs-on: namespace-profile-linux-default
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: namespacelabs/nscloud-checkout-action@v9
- name: Spell check
uses: crate-ci/typos@v1.38.1
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ The supporting code is

The PaperMC logomark is subject to its [own terms](https://docs.papermc.io/misc/assets) and does not
inherit a license from any of the projects it represents.

<img src="https://papermc.io/assets/misc/namespace-oss-badge.svg?project=docs" alt="CI powered by namespace badge" />
Loading