Skip to content

Commit

Permalink
ci: remove examples
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-bell committed Sep 29, 2024
1 parent d711ad7 commit 3c046d4
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,37 +34,6 @@ jobs:
fetch-depth: 0
- uses: ./.github/actions/install
- run: pnpm check
examples:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.event_name == 'pull_request' && github.actor_id == '7349341'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install
- run: pnpm -rc --filter="./examples/**" exec -- pwd | awk -F/ '{print $NF}' > TMP_EXAMPLES.txt
- name: Generate Examples Comment
env:
BRANCH: ${{ github.event.pull_request.head.ref }}
run: >
{
echo "**The latest updates to examples.**";
echo "";
echo "| Name | StackBlitz |";
echo "|:---------|:------------|";
while IFS= read -r id || [[ -n "$id" ]];
do echo "| **$id** | [Visit StackBlitz](https://stackblitz.com/github/joe-bell/cva/tree/${BRANCH}/examples/${id}) |";
done;
} < TMP_EXAMPLES.txt > TMP_EXAMPLES.md
- uses: marocchino/sticky-pull-request-comment@v2
with:
header: "Examples"
recreate: true
path: TMP_EXAMPLES.md
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 3c046d4

Please sign in to comment.