Skip to content

chore: fix project

chore: fix project #2

Workflow file for this run

name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Build Package
run: |
yarn
yarn build
yarn pack --filename koishi-plugin-pingti.tgz
shell: bash
- uses: actions/upload-artifact@v3
with:
name: koishi-plugin-pingti-${{ github.sha }}
path: koishi-plugin-pingti.tgz