gha: Add setup-node step
This commit is contained in:
parent
839eb279b0
commit
2012d01829
1 changed files with 6 additions and 1 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
|
@ -16,8 +16,13 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: npm install
|
||||
|
||||
- name: Format check
|
||||
run: npm run format:check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue