From b9213952d3a4504403052b0d83815f6ad2dd4a5c Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 1 Nov 2020 10:39:09 +0100 Subject: [PATCH] Added npm ci when generating release --- .github/workflows/publish-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 36d0bea7..5f857f89 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -16,7 +16,7 @@ jobs: with: node-version: 14.15 - name: Generate release assets - run: npm run build ${GITHUB_REF#refs/tags/v} + run: npm ci && npm run build ${GITHUB_REF#refs/tags/v} - name: Publish release with assets uses: docker://antonyurchenko/git-release:latest env: