merge and rename workflows

This commit is contained in:
itsMapleLeaf
2023-09-27 12:23:24 -05:00
parent 6ce9241080
commit ffe0a86a33
2 changed files with 3 additions and 33 deletions

View File

@@ -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

View File

@@ -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