Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
ci/docs: add workflow for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Jan 27, 2024
1 parent fcaf7ff commit 152b8d7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Publish
uses: cloudflare/wrangler-action@v3.4.0
uses: cloudflare/wrangler-action@v3.4.1
with:
accountId: ${{ secrets.CF_ACCOUNT_ID }}
apiToken: ${{ secrets.CF_API_TOKEN }}
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Scripts

on:
push:
branches: main
paths:
- .github/workflows/scripts.yml
- tsconfig.json
- package.json
- bun.lockb
- scripts/*

jobs:
test:
uses: winstxnhdw/actions/.github/workflows/bun.yml@main
with:
disable-test: true
disable-build: true
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![main.yml](https://github.com/winstxnhdw/anisette-api/actions/workflows/main.yml/badge.svg)](https://github.com/winstxnhdw/anisette-api/actions/workflows/main.yml)
[![proxy.yml](https://github.com/winstxnhdw/anisette-api/actions/workflows/proxy.yml/badge.svg)](https://github.com/winstxnhdw/anisette-api/actions/workflows/proxy.yml)
[![scripts.yml](https://github.com/winstxnhdw/anisette-api/actions/workflows/scripts.yml/badge.svg)](https://github.com/winstxnhdw/anisette-api/actions/workflows/scripts.yml)
[![warmer.yml](https://github.com/winstxnhdw/anisette-api/actions/workflows/warmer.yml/badge.svg)](https://github.com/winstxnhdw/anisette-api/actions/workflows/warmer.yml)
[![keep-alive.yml](https://github.com/winstxnhdw/anisette-api/actions/workflows/keep-alive.yml/badge.svg)](https://github.com/winstxnhdw/anisette-api/actions/workflows/keep-alive.yml)

Expand Down

0 comments on commit 152b8d7

Please sign in to comment.