From 4c3ecd1f1bfc8fe9c0ff92e4c8d784df0db1df75 Mon Sep 17 00:00:00 2001 From: NeoCode Date: Tue, 31 Aug 2021 10:53:08 +0200 Subject: [PATCH] Add the --frozen-lockfile argument to yarn install --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 0908fc5..ba5ed7f 100644 --- a/action.yml +++ b/action.yml @@ -38,7 +38,7 @@ runs: steps: - name: Build Vue run: | - if [ true == ${{ inputs.useyarn }} ]; then yarn install; else npm ci; fi + if [ true == ${{ inputs.useyarn }} ]; then yarn install --frozen-lockfile; else npm ci; fi if [ true == ${{ inputs.useyarn }} ]; then yarn build; else npm run build; fi cd dist if [ "none" != ${{ inputs.cname }} ]; then echo '${{ inputs.cname }}' > CNAME; fi