ci: shorten the workflow definition

This commit is contained in:
Kengo TODA committed 2022-03-17 17:14:52 +08:00
1 parent bafe70664b
commit 7c8c232652
1 file changed
+1 -4
+1 -4
View File
@@ -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