ci: add npm install steps

This commit is contained in:
iCrawl 2019-08-24 20:31:12 +02:00
parent fd49082ac0
commit 57033f3334
No known key found for this signature in database
GPG key ID: E41A6DB922EC2CFE

View file

@ -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