Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
fix: add Hls mixin + upgrade custom-media-element + update tooling (#43)
Browse files Browse the repository at this point in the history
* chore: upgrade deps, use npm

* example: fix Safari glitch

* fix: upgrade dependencies

* feat: add HlsVideoMixin support for layering

* test: add coverage table to test
  • Loading branch information
luwes authored Dec 3, 2023
1 parent 75755ae commit 1a79419
Show file tree
Hide file tree
Showing 7 changed files with 318 additions and 214 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
version_type:
version:
type: choice
required: true
description: Version
Expand All @@ -15,11 +15,23 @@ on:
- patch
- minor
- major
- prerelease
prerelease:
type: choice
required: false
description: Pre-release
options:
-
- canary
- beta

jobs:
deploy:
runs-on: ubuntu-latest
environment: production
permissions:
contents: write
id-token: write

env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -34,7 +46,7 @@ jobs:
# this line is required for the setup-node action to be able to run the npm publish below.
registry-url: 'https://registry.npmjs.org'
- uses: fregante/setup-git-user@v1
- run: yarn --frozen-lockfile
- run: yarn lint
- run: yarn test
- run: npx wet-run release ${{ inputs.version_type }} --changelog --github-release
- run: npm ci
- run: npm run lint
- run: npm test
- run: npx --yes wet-run@0.9.2 release ${{ inputs.version }} --prerelease "${{ inputs.prerelease }}" --provenance --changelog --github-release
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: yarn --frozen-lockfile
- run: yarn lint
- run: npm ci
- run: npm run lint

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: yarn --frozen-lockfile
- run: yarn test
- run: npm ci
- run: npm test
Loading

0 comments on commit 1a79419

Please sign in to comment.