mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-04-02 09:44:14 +00:00
General Fixes
This commit is contained in:
parent
4087f0575b
commit
b915fe252e
3 changed files with 500 additions and 1178 deletions
30
.github/workflows/npm-build-and-compile.yml
vendored
30
.github/workflows/npm-build-and-compile.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue