From 7c8c232652988996f61935835827ca33e5db27a2 Mon Sep 17 00:00:00 2001 From: Kengo TODA Date: Thu, 17 Mar 2022 17:13:40 +0800 Subject: [PATCH] ci: shorten the workflow definition --- .github/workflows/test.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 22eefc7..bdb5a46 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,13 +14,10 @@ jobs: with: # Make sure the release step uses its own credentials. persist-credentials: false - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - uses: actions/setup-node@v3 with: cache: npm - node-version: ${{ steps.nvm.outputs.NVMRC }} + node-version-file: '.nvmrc' - run: | npm ci npm run all