mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
ci: add npm install steps
This commit is contained in:
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: ESLint, Typings, and Docs
|
name: Lint
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -32,6 +32,8 @@ jobs:
|
|||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
- name: npm install
|
||||||
|
run: npm install
|
||||||
- name: lint typings
|
- name: lint typings
|
||||||
run: npm run lint:typings
|
run: npm run lint:typings
|
||||||
|
|
||||||
@@ -44,5 +46,7 @@ jobs:
|
|||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
- name: npm install
|
||||||
|
run: npm install
|
||||||
- name: lint docs
|
- name: lint docs
|
||||||
run: npm run docs:test
|
run: npm run docs:test
|
||||||
|
|||||||
Reference in New Issue
Block a user