Skip to content

build to npm

build to npm #61

Workflow file for this run

name: Test TEv2 Workflow
on:
gollum:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
name: Run TEv2
runs-on: ubuntu-latest
steps:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- run: mkdir deploy && mv index.html deploy
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./deploy