Skip to content

Commit

Permalink
do not publish 'artifacts' to npm (#2068)
Browse files Browse the repository at this point in the history
  • Loading branch information
zburke authored May 19, 2023
1 parent 5efbc3f commit 739ca5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ jobs:

- name: Exclude some CI-generated artifacts in package
run: |
echo "artifacts" >> .npmignore
echo ".github" >> .npmignore
echo ".scannerwork" >> .npmignore
cat .npmignore
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ jobs:
- name: Exclude some CI-generated artifacts in package
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
run: |
echo "artifacts" >> .npmignore
echo ".github" >> .npmignore
echo ".scannerwork" >> .npmignore
cat .npmignore
Expand Down

0 comments on commit 739ca5f

Please sign in to comment.