Skip to content

chore: update config #10

chore: update config

chore: update config #10

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true
- name: Build
run: pnpm build
- name: Release
continue-on-error: true
uses: softprops/action-gh-release@v2
with:
files: |
./dist/main.js
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./dist