mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-04-01 01:04:16 +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:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -15,19 +15,19 @@ jobs:
|
|||
node-version: [21.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: yarn
|
||||
- name: Configure Corepack
|
||||
run: corepack enable
|
||||
|
||||
- name: Configure Corepack
|
||||
run: corepack enable
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: yarn
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cp ./config.example.json ./config.json
|
||||
yarn install
|
||||
yarn compile
|
||||
- name: Build
|
||||
run: |
|
||||
cp ./config.example.json ./config.json
|
||||
yarn install
|
||||
yarn compile
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"discord.js": "^14.15.3",
|
||||
"mongoose": "^8.5.3"
|
||||
"mongoose": "^8.5.3",
|
||||
"poixpixel-discord-bot": "file:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.4.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue