fix error in DiscordRESTError when non-object is recieved #1064
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Code | |
on: [push, pull_request, workflow_call] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: Install Dependencies | |
run: pnpm i --frozen-lockfile --ignore-scripts | |
- name: Build | |
run: pnpm run test:build && pnpm run test:esm |