diff --git a/.github/workflows/the.yml b/.github/workflows/the.yml index da1ae7a..fef77ec 100644 --- a/.github/workflows/the.yml +++ b/.github/workflows/the.yml @@ -13,7 +13,7 @@ env: TEST_GUILD_ID: ${{ secrets.TEST_GUILD_ID }} jobs: - the: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -23,4 +23,26 @@ jobs: node-version: "lts/*" - run: npm i -g pnpm - run: pnpm install --frozen-lockfile - - run: pnpm run ci + - run: pnpm build + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + # https://github.com/actions/setup-node#supported-version-syntax + node-version: "lts/*" + - run: npm i -g pnpm + - run: pnpm install --frozen-lockfile + - run: pnpm lint + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + # https://github.com/actions/setup-node#supported-version-syntax + node-version: "lts/*" + - run: npm i -g pnpm + - run: pnpm install --frozen-lockfile + - run: pnpm test diff --git a/package.json b/package.json index 1991ef6..9ee7649 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,7 @@ "lint": "eslint --ext js,ts,tsx .", "lint-fix": "npm run lint -- --fix", "format": "prettier --write .", - "typecheck": "tsc --noEmit", - "ci": "npm-run-all --parallel --print-label --race build lint test typecheck" + "typecheck": "tsc --noEmit" }, "keywords": [], "author": "itsMapleLeaf",