Skip to content

Merge pull request #26 from tfukaza/use-vitest #10

Merge pull request #26 from tfukaza/use-vitest

Merge pull request #26 from tfukaza/use-vitest #10

Workflow file for this run

name: Build and save minified JS file to gh-pages
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm install
- run: npm run build
- name: Save minified JS file to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist