mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
ci: update to node 16 (#6315)
This commit is contained in:
20
.github/workflows/test-cron.yml
vendored
20
.github/workflows/test-cron.yml
vendored
@@ -13,11 +13,10 @@ jobs:
|
||||
- name: Install Node v14
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: 16
|
||||
|
||||
- name: Install dependencies
|
||||
# Remove --no-optional after Node 16 upgrade
|
||||
run: npm ci --no-optional
|
||||
run: npm ci
|
||||
|
||||
- name: Run ESLint
|
||||
run: npm run lint
|
||||
@@ -32,11 +31,10 @@ jobs:
|
||||
- name: Install Node v14
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: 16
|
||||
|
||||
- name: Install dependencies
|
||||
# Remove --no-optional after Node 16 upgrade
|
||||
run: npm ci --no-optional
|
||||
run: npm ci
|
||||
|
||||
- name: Run TSLint
|
||||
run: npm run lint:typings
|
||||
@@ -51,11 +49,10 @@ jobs:
|
||||
- name: Install Node v14
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: 16
|
||||
|
||||
- name: Install dependencies
|
||||
# Remove --no-optional after Node 16 upgrade
|
||||
run: npm ci --no-optional
|
||||
run: npm ci
|
||||
|
||||
- name: Register Problem Matcher
|
||||
run: echo "##[add-matcher].github/tsc.json"
|
||||
@@ -73,11 +70,10 @@ jobs:
|
||||
- name: Install Node v14
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: 16
|
||||
|
||||
- name: Install dependencies
|
||||
# Remove --no-optional after Node 16 upgrade
|
||||
run: npm ci --no-optional
|
||||
run: npm ci
|
||||
|
||||
- name: Test documentation
|
||||
run: npm run docs:test
|
||||
|
||||
Reference in New Issue
Block a user