Skip to content

Commit

Permalink
* chore: update node.js to v22.x, update deps and replace ts-node wit…
Browse files Browse the repository at this point in the history
…h tsx

* chore: update Node.js to v22.x

* chore: update dependencies and replace ts-node with tsx
  • Loading branch information
targos authored May 7, 2024
1 parent b5b082c commit 11e0b5f
Show file tree
Hide file tree
Showing 7 changed files with 1,769 additions and 1,706 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,16 @@ on:
pull_request:
paths-ignore: [README.md, LICENSE]

env:
NODE_VERSION: 20.x

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: 'package.json'
cache: npm

- name: Install dependencies
run: npm ci
Expand All @@ -37,9 +35,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version-file: 'package.json'
cache: npm

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Prérequis

- Node.js v20
- Node.js v22
- npm v10
- Un bot Discord installé sur une copie du serveur ES Community.
- Création et gestion de bots: https://discord.com/developers/applications/ -> App -> Bot
Expand Down
Loading

0 comments on commit 11e0b5f

Please sign in to comment.