Skip to content

Commit f99e8cd

Browse files
authored
Merge pull request #233 from github/elbrenn/build-preview
Fix preview run
2 parents a159737 + 6f19212 commit f99e8cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-preview.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
- run: npm --no-git-tag-version version 1.0.${{ github.run_number }}
2121
- run: npm install @actions/languageserver@latest @actions/workflow-parser@latest @actions/expressions@latest @actions/languageservice@latest
2222
- run: npm ci
23+
- name: create a package.json without scoped name
24+
run: |
25+
cp package.json package.json.real
26+
sed --regexp-extended '/"name"\s*:/ s#@[a-zA-Z\\-]+/##' package.json.real > package.json
2327
- run: npm run package
2428
- uses: actions/upload-artifact@v3
2529
with:

0 commit comments

Comments
 (0)