From 373c05e777716496459528552de7e7cb92af5117 Mon Sep 17 00:00:00 2001 From: Joe Hildebrand Date: Thu, 3 Oct 2024 16:00:29 -0400 Subject: [PATCH] Ensure docs are build before scripts are cleaned up --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0d14fdbf..eeab08a7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,6 @@ jobs: - name: Get version of the project id: vvver uses: 'euberdeveloper/ga-project-version@main' - - run: npm pkg delete devDependencies scripts pnpm browserslist packageManager - name: Create Docs if: ${{ !contains(steps.vvver.outputs.version, '-') }} run: npm run docs @@ -32,6 +31,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/_site publish_branch: docs + - run: npm pkg delete devDependencies scripts pnpm browserslist packageManager - name: Publish full release run: npm publish --access public --provenance if: ${{ !contains(steps.vvver.outputs.version, '-') }}