summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-07 02:28:34 -0700
committerFuwn <[email protected]>2025-09-07 02:28:34 -0700
commit188c714f43635fb57eac70b167dba682d6b93a2f (patch)
tree28a5bc64a6a8efd78c19cdaa666b98e42d3b90b5 /.github
parentfeat: Add top command (diff)
downloadumabotdiscord-188c714f43635fb57eac70b167dba682d6b93a2f.tar.xz
umabotdiscord-188c714f43635fb57eac70b167dba682d6b93a2f.zip
build: Switch to TypeScript
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml35
1 files changed, 22 insertions, 13 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 34a4045..3905960 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -9,31 +9,40 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v5
- # - uses: actions/setup-node@v4
+ # - uses: oven-sh/setup-bun@v1
# with:
- # node-version: 18
- # - run: npm install
- # - run: npm test
+ # bun-version: latest
+ # - run: bun install
+ # - run: bun test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- - uses: actions/setup-node@v4
+ - uses: oven-sh/setup-bun@v1
with:
- node-version: 18
- - run: npm install
- - run: npm run lint
+ bun-version: latest
+ - run: bun install
+ - run: bun run lint
+ type-check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v5
+ - uses: oven-sh/setup-bun@v1
+ with:
+ bun-version: latest
+ - run: bun install
+ - run: bun run type-check
release:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
- needs: [lint] # test
+ needs: [lint, type-check] # test
steps:
- uses: actions/checkout@v5
- - uses: actions/setup-node@v4
+ - uses: oven-sh/setup-bun@v1
with:
- node-version: 18
- - run: npm install
- - run: npm run publish
+ bun-version: latest
+ - run: bun install
+ - run: bun run publish
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}