diff --git a/.github/actions/setup-node-pnpm/action.yml b/.github/actions/setup-node-pnpm/action.yml index cd1bfcc1d..7e99a63ce 100644 --- a/.github/actions/setup-node-pnpm/action.yml +++ b/.github/actions/setup-node-pnpm/action.yml @@ -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 diff --git a/.github/workflows/build-preview.yaml b/.github/workflows/build-preview.yaml index 898ca5593..7d0bdf1d1 100644 --- a/.github/workflows/build-preview.yaml +++ b/.github/workflows/build-preview.yaml @@ -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 }} diff --git a/.github/workflows/deploy-preview.yaml b/.github/workflows/deploy-preview.yaml index 935cfc31c..a07a3e353 100644 --- a/.github/workflows/deploy-preview.yaml +++ b/.github/workflows/deploy-preview.yaml @@ -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: diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 891df9b26..0591f947a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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" diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 4b7341dcb..1d560481b 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -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: diff --git a/.github/workflows/spellcheck.yaml b/.github/workflows/spellcheck.yaml index 7727f65ae..97880cdb5 100644 --- a/.github/workflows/spellcheck.yaml +++ b/.github/workflows/spellcheck.yaml @@ -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 diff --git a/README.md b/README.md index 96bf79015..0a84b158a 100644 --- a/README.md +++ b/README.md @@ -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. + +CI powered by namespace badge