Skip to content

PWA, migrate to bun. #20

PWA, migrate to bun.

PWA, migrate to bun. #20

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
test-build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install
run: |
bun install
- name: Run tests
run: |
bun run check
- name: Build 🔧
run: |
bun run build
- name: Change base-tag in index.html from / to dictionary
run: sed -i 's/<base href="\/" \/>/<base href="\/dictionary\/" \/>/g' public/index.html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: gh-pages
folder: public