Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenjie-Shao committed Mar 7, 2024
1 parent 8fd0fdf commit 13c1daf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
dirName: ['dsbridge', 'hls.js', 'viewport-units-buggyfill', 'anonymous-token']
dirName: ['hls.js']

steps:
- uses: actions/checkout@v2
Expand All @@ -25,18 +25,11 @@ jobs:
scope: '@adrise'

- run: npm set-script prepare ""
if: ${{ matrix.dirName == 'hls.js' }} # currently only hls.js has the husky config
working-directory: packages/${{ matrix.dirName }}

- run: npm install ci --legacy-peer-deps
if: ${{ matrix.dirName == 'hls.js' || matrix.dirName == 'anonymous-token' }} # currently only hls.js and anonymous-token migrated the build command
working-directory: packages/${{ matrix.dirName }}

- run: npm run build
if: ${{ matrix.dirName == 'hls.js' || matrix.dirName == 'anonymous-token' }} # currently only hls.js and anonymous-token migrated the build command
working-directory: packages/${{ matrix.dirName }}

- run: npm publish
working-directory: packages/${{ matrix.dirName }}
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@adrise/hls.js",
"name": "@adrise/tubi-hls.js",
"license": "Apache-2.0",
"version": "1.5.7-rc.1",
"version": "1.5.7-alpha.1",
"description": "JavaScript HLS client using MediaSourceExtension",
"homepage": "https://github.com/adRise/web_ott_npm_private_packages/tree/master/packages/hls.js",
"homepage": "https://github.com/adRise/tubi-hls.js",
"repository": {
"type": "git",
"url": "git@github.com:adRise/web_ott_npm_private_packages.git"
"url": "git@github.com:adRise/tubi-hls.js.git"
},
"main": "./dist/hls.js",
"module": "./dist/hls.mjs",
Expand Down

0 comments on commit 13c1daf

Please sign in to comment.