-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor vue library to not use dist folder in npm
- Loading branch information
1 parent
1100cf5
commit 892c748
Showing
13 changed files
with
35 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,20 +19,20 @@ jobs: | |
npm ci | ||
npm run build | ||
# Check if the version already exists on npm | ||
# Check if the vue-file-upload version already exists on npm | ||
- name: Check Version Existence | ||
id: check_version | ||
run: | | ||
if npm show @canopassoftware/[email protected].6; then | ||
if npm show @canopassoftware/[email protected].7; then | ||
echo "Version already published. Skipping npm publish." | ||
echo "::set-output name=skip_publish::true" | ||
else | ||
echo "::set-output name=skip_publish::false" | ||
fi | ||
# Publish only if the version check passed | ||
# Publish only if the vue-file-upload version check passed | ||
- name: Publish to npm | ||
if: steps.check_version.outputs.skip_publish != 'true' | ||
if: steps.check_version.outputs.skip_publish != true | ||
run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
@@ -50,7 +50,7 @@ jobs: | |
npm ci | ||
npm run build | ||
# Check if the version already exists on npm | ||
# Check if the react-file-upload version already exists on npm | ||
- name: Check Version Existence | ||
id: check_version | ||
run: | | ||
|
@@ -61,9 +61,9 @@ jobs: | |
echo "::set-output name=skip_publish::false" | ||
fi | ||
# Publish only if the version check passed | ||
# Publish only if the react-file-upload version check passed | ||
- name: Publish to npm | ||
if: steps.check_version.outputs.skip_publish != 'true' | ||
if: steps.check_version.outputs.skip_publish != true | ||
run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,9 @@ coverage | |
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
*.sw? | ||
|
||
index.mjs | ||
index.umd.js | ||
favicon.ico | ||
style.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters