General Fixes

This commit is contained in:
Ahmad 2024-08-20 13:45:17 -04:00
parent 4087f0575b
commit b915fe252e
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
3 changed files with 500 additions and 1178 deletions

View file

@ -2,9 +2,9 @@ name: NodeJS Build and Compile
on: on:
push: push:
branches: [ "main" ] branches: ["main"]
pull_request: pull_request:
branches: [ "main" ] branches: ["main"]
jobs: jobs:
build: build:
@ -15,19 +15,19 @@ jobs:
node-version: [21.x] node-version: [21.x]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }} - name: Configure Corepack
uses: actions/setup-node@v4 run: corepack enable
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Configure Corepack - name: Use Node.js ${{ matrix.node-version }}
run: corepack enable uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Build - name: Build
run: | run: |
cp ./config.example.json ./config.json cp ./config.example.json ./config.json
yarn install yarn install
yarn compile yarn compile

View file

@ -14,7 +14,8 @@
}, },
"dependencies": { "dependencies": {
"discord.js": "^14.15.3", "discord.js": "^14.15.3",
"mongoose": "^8.5.3" "mongoose": "^8.5.3",
"poixpixel-discord-bot": "file:"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.4.0", "@types/node": "^22.4.0",

1645
yarn.lock

File diff suppressed because it is too large Load diff