[actions] use `node/install` instead of `node/run`
parent
eed0d0e85c
commit
7ba49f8f71
|
@ -34,13 +34,13 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ljharb/actions/node/run@main
|
- uses: ljharb/actions/node/install@main
|
||||||
name: 'nvm install-latest-npm'
|
name: 'nvm install-latest-npm'
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
skip-ls-check: true
|
skip-ls-check: true
|
||||||
skip-install: true
|
skip-install: true
|
||||||
shell-command: 'npm --version'
|
- run: npm --version
|
||||||
|
|
||||||
node:
|
node:
|
||||||
name: 'nvm install-latest-npm'
|
name: 'nvm install-latest-npm'
|
||||||
|
|
|
@ -7,31 +7,31 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ljharb/actions/node/run@main
|
- uses: ljharb/actions/node/install@main
|
||||||
name: 'npm install && npm run eclint'
|
name: 'nvm install ${{ matrix.node-version }} && npm install'
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
command: 'eclint'
|
- run: npm run eclint
|
||||||
|
|
||||||
dockerfile_lint:
|
dockerfile_lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ljharb/actions/node/run@main
|
- uses: ljharb/actions/node/install@main
|
||||||
name: 'npm install && npm run dockerfile_lint'
|
name: 'nvm install ${{ matrix.node-version }} && npm install'
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
command: 'dockerfile_lint'
|
- run: npm run dockerfile_lint'
|
||||||
|
|
||||||
doctoc:
|
doctoc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ljharb/actions/node/run@main
|
- uses: ljharb/actions/node/install@main
|
||||||
name: 'npm install && npm run doctoc'
|
name: 'nvm install ${{ matrix.node-version }} && npm install'
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
command: "doctoc:check"
|
- run: npm run doctoc:check
|
||||||
|
|
||||||
test_naming:
|
test_naming:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue