From 1d5fab4067a24a790b1601ad647b26a0a62b14a8 Mon Sep 17 00:00:00 2001 From: Maiko Sinkyaet Tan Date: Sat, 17 Feb 2024 13:08:44 +0800 Subject: [PATCH] feat: add reusable build workflow (#49) * feat: add reusable build workflow * fix: yarn immutable install * fix: remove branch requirement * fix: remove invalid env * fix: no immutable * fix: add koishi into devDeps * remove old workflow --- .github/workflows/test.yml | 18 ------------------ package.json | 2 ++ 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 11bc134..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Test -on: [push, pull_request] - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: AwesomeHamster/actions-test@master - env: - PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true - with: - install-peer: > - koishi - koishi-plugin-puppeteer - test: | - yarn lint - yarn test diff --git a/package.json b/package.json index 41af41a..612c71a 100644 --- a/package.json +++ b/package.json @@ -85,6 +85,8 @@ "esbuild-plugin-yaml": "^0.0.1", "eslint": "^8.19.0", "eslint-import-resolver-typescript": "^3.4.1", + "koishi": "^4.15.7", + "koishi-plugin-puppeteer": "^3.3.1", "markdown-magic": "^2.6.1", "mocha": "^9.1.3", "prettier": "^2.7.1",