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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 7 additions & 3 deletions .github/scripts/check-sdk-version-alignment.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,13 @@ if (watched.length === 0) {
}

const lockfiles = ["package-lock.json"];
for (const dir of readdirSync("examples")) {
const lock = join("examples", dir, "package-lock.json");
if (existsSync(lock)) lockfiles.push(lock);
// Examples now live in the `arcjet/examples` repository, so this repo may have
// no `examples` directory. When it does, include each example's lockfile.
if (existsSync("examples")) {
for (const dir of readdirSync("examples")) {
const lock = join("examples", dir, "package-lock.json");
if (existsSync(lock)) lockfiles.push(lock);
}
}

let failed = false;
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/merge-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,3 @@ jobs:
uses: ./.github/workflows/reusable-test.yml
permissions:
contents: read

examples:
name: Build examples
uses: ./.github/workflows/reusable-examples.yml
permissions:
contents: read
6 changes: 0 additions & 6 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,3 @@ jobs:
uses: ./.github/workflows/reusable-test.yml
permissions:
contents: read

examples:
name: Build examples
uses: ./.github/workflows/reusable-examples.yml
permissions:
contents: read
8 changes: 1 addition & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,13 @@ jobs:
permissions:
contents: read

examples:
name: Build examples
uses: ./.github/workflows/reusable-examples.yml
permissions:
contents: read

release:
runs-on: ubuntu-latest
# Only run Release Please on `main`. It pushes to
# `release-please--branches--main` using a GitHub App token, and App token
# pushes (unlike `GITHUB_TOKEN`) re-trigger workflows — so running this job
# on that branch makes it force-push and re-trigger itself in an infinite
# loop. The `test` and `examples` jobs still run on the release branch.
# loop. The `test` job still runs on the release branch.
if: github.ref == 'refs/heads/main'
# Release Please is very fast, so we set a tiny timeout
timeout-minutes: 2
Expand Down
157 changes: 0 additions & 157 deletions .github/workflows/reusable-examples.yml

This file was deleted.

27 changes: 0 additions & 27 deletions examples/README.md

This file was deleted.

1 change: 0 additions & 1 deletion examples/astro/.env.local.example

This file was deleted.

24 changes: 0 additions & 24 deletions examples/astro/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion examples/astro/.npmrc

This file was deleted.

38 changes: 0 additions & 38 deletions examples/astro/README.md

This file was deleted.

25 changes: 0 additions & 25 deletions examples/astro/astro.config.mjs

This file was deleted.

Loading
Loading