blob: 1321bdc91537557a88d434855cac406078cb7cab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
name: Deploy CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Dependencies
run: bun install
- name: Build Project
run: bun run build
- name: Run Tests
run: bun test
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.7.6
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
|