Skip to content

Commit 373c05e

Browse files
committed
Ensure docs are build before scripts are cleaned up
1 parent e15f3aa commit 373c05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- name: Get version of the project
2222
id: vvver
2323
uses: 'euberdeveloper/ga-project-version@main'
24-
- run: npm pkg delete devDependencies scripts pnpm browserslist packageManager
2524
- name: Create Docs
2625
if: ${{ !contains(steps.vvver.outputs.version, '-') }}
2726
run: npm run docs
@@ -32,6 +31,7 @@ jobs:
3231
github_token: ${{ secrets.GITHUB_TOKEN }}
3332
publish_dir: docs/_site
3433
publish_branch: docs
34+
- run: npm pkg delete devDependencies scripts pnpm browserslist packageManager
3535
- name: Publish full release
3636
run: npm publish --access public --provenance
3737
if: ${{ !contains(steps.vvver.outputs.version, '-') }}

0 commit comments

Comments
 (0)