From 535d0e0aa958436bd0f76e7548b5a0367577f992 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Wed, 13 Nov 2019 17:05:13 +0900 Subject: [PATCH] gha: update (#85) --- .github/workflows/test.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3d3bcd..fd0d735 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,22 +24,18 @@ jobs: run: echo ::set-output name=NVMRC::$(cat .nvmrc) id: nvm - - name: Setup node + - name: Setup Node uses: actions/setup-node@v1 with: node-version: '${{ steps.nvm.outputs.NVMRC }}' - - name: Install dependencies - run: npm install + - run: npm ci - - 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 uses: actions/upload-artifact@master