diff --git a/.github/workflows/lint.yml b/.github/workflows/tests.yml similarity index 94% rename from .github/workflows/lint.yml rename to .github/workflows/tests.yml index fdec0d5..65d954d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: lint +name: tests on: push: @@ -15,8 +15,8 @@ concurrency: cancel-in-progress: true jobs: - lint: - name: ${{ matrix.script }} + tests: + name: tests - ${{ matrix.script }} runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml deleted file mode 100644 index 7443ebe..0000000 --- a/.github/workflows/unit-test.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: unit test - -on: - push: - branches: [main] - pull_request: - -env: - TEST_BOT_TOKEN: ${{ secrets.TEST_BOT_TOKEN }} - TEST_CHANNEL_ID: ${{ secrets.TEST_CHANNEL_ID }} - TEST_GUILD_ID: ${{ secrets.TEST_GUILD_ID }} - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 8 - - uses: actions/setup-node@v3 - with: - node-version: 16 - cache: pnpm - - run: pnpm install --frozen-lockfile - - run: pnpm test