Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/xianyubb/xianyubb-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyubb committed Jan 22, 2024
2 parents 73f61cd + 89820e8 commit 96aeacd
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build

on:
workflow_dispatch:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
submodules: true
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: build
run: |
npm install -g pnpm
pnpm install
tsc
cp package.json dist/
- name: pack plugin
run: |
cd dist
zip -r ../xianyubb-bot.zip .
- name: upload
uses: actions/upload-artifact@v4
with:
name: xianyubb-bot
path: xianyubb-bot.zip

0 comments on commit 96aeacd

Please sign in to comment.