mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 22:16:13 +00:00
chore: add Bun CI workflow
This commit is contained in:
1 parent
00aaece227
commit
15b0a54e29
2 files changed
+25
-5
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: Bun CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: ['main']
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Bun ${{ matrix.bun-version }} on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
bun-version: [latest, canary]
|
||||
os: ['ubuntu-latest']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Bun ${{ matrix.bun-version }}
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: ${{ matrix.bun-version }}
|
||||
- run: bun install
|
||||
- run: bun run eslint
|
||||
- run: bun run build
|
||||
@@ -1,6 +1,3 @@
|
||||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
|
||||
|
||||
name: Node.js CI
|
||||
|
||||
on:
|
||||
@@ -16,7 +13,6 @@ jobs:
|
||||
matrix:
|
||||
node-version: [18.x]
|
||||
os: ['ubuntu-latest']
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -25,7 +21,6 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- run: npm install -g npm@latest
|
||||
- run: npm ci
|
||||
- run: npm run eslint
|
||||
- run: npm run build
|
||||
Reference in new issue
Block a user