gha: update (#85)

This commit is contained in:
Shohei Ueda 2019-11-13 17:05:13 +09:00 committed by GitHub
parent 90fbf33ad8
commit 535d0e0aa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 9 deletions

View File

@ -24,22 +24,18 @@ jobs:
run: echo ::set-output name=NVMRC::$(cat .nvmrc) run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm id: nvm
- name: Setup node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: '${{ steps.nvm.outputs.NVMRC }}' node-version: '${{ steps.nvm.outputs.NVMRC }}'
- name: Install dependencies - run: npm ci
run: npm install
- name: Format check - run: npm run format:check
run: npm run format:check
- name: Lint - run: npm run lint
run: npm run lint
- name: Test - run: npm test
run: npm test
- name: Upload test coverage - name: Upload test coverage
uses: actions/upload-artifact@master uses: actions/upload-artifact@master