mirror of
https://github.com/LucasVbr/hono-pug-renderer.git
synced 2026-05-14 01:31:52 +00:00
feat: add build and CI configuration files
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- id: checkout
|
||||
name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- id: setup-bun
|
||||
name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
- id: install-deps
|
||||
name: Install dependencies
|
||||
run: |
|
||||
bun install
|
||||
- id: test
|
||||
name: Run test
|
||||
run: |
|
||||
bun test
|
||||
Reference in New Issue
Block a user