ci: update to node 16 (#6315)

This commit is contained in:
Rodry
2021-08-06 13:41:13 +01:00
committed by GitHub
parent d5e28c2298
commit a0974fdbbb
4 changed files with 20 additions and 30 deletions

View File

@@ -14,12 +14,11 @@ jobs:
- name: Install Node v14
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Install dependencies
# Remove --no-optional after Node 16 upgrade
run: npm ci --ignore-scripts --no-optional
run: npm ci --ignore-scripts
- name: Deprecate old versions
run: npm deprecate discord.js@"~13.0.0-dev" "no longer supported" || true