Skip to content

Commit

Permalink
fix(Workflows): remove 'ci'
Browse files Browse the repository at this point in the history
  • Loading branch information
korpselgbt committed Nov 5, 2024
1 parent 3549294 commit 577afc1
Show file tree
Hide file tree
Showing 4 changed files with 5,602 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: i
name: CI

on:
push:
Expand All @@ -21,13 +21,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
run: npm i
run: |
npm i
npm ci
- name: Run linter
run: npm run lint

- name: Build
run: npm run build
run: npm run build
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'npm'

- name: Install dependencies
run: npm i
run: |
npm i
npm ci
- name: Build
run: npm run build
Expand All @@ -31,4 +32,4 @@ jobs:
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
DISCORD_GUILD_ID: ${{ secrets.DISCORD_GUILD_ID }}
run: npm run deploy-commands
run: npm run deploy-commands
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Dependencies
node_modules/
package-lock.json
yarn.lock

# Build outputs
dist/
Expand Down
Loading

0 comments on commit 577afc1

Please sign in to comment.