-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from rokucommunity/ropm-prep
Adds support for ropm publishing
- Loading branch information
Showing
7 changed files
with
995 additions
and
191 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 |
---|---|---|
|
@@ -48,12 +48,24 @@ jobs: | |
prerelease: false | ||
|
||
#upload package to GitHub release | ||
- name: Upload GitHub Release Assets | ||
uses: alexellis/upload-assets@0.2.3 | ||
- name: Upload GitHub Release Assets (./dist code) | ||
uses: alexellis/upload-assets@0.4.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
asset_paths: '["./*.tgz", "./dist"]' | ||
asset_paths: '["./dist/components/Promise.xml", "./dist/source/promises.brs", "./dist/source/promises.brs.map", "./dist/source/promises.d.bs"]' | ||
|
||
- name: "Prepare package for ropm" | ||
run: npx ts-node ./src/ropm-preprocess.ts | ||
|
||
#upload to npm | ||
- run: npm publish | ||
|
||
#upload package to GitHub release | ||
- name: Upload GitHub Release Assets (npm package) | ||
uses: alexellis/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
asset_paths: '["./*.tgz"]' | ||
|
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{ | ||
"rootDir": "./src", | ||
"stagingDir": "./dist" | ||
"stagingDir": "./dist", | ||
"emitDefinitions": true, | ||
"sourceMap": true | ||
} |
Oops, something went wrong.