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

build(deps-dev): bump @web/test-runner from 0.14.0 to 0.15.0 #41

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
879c524
Create dependabot.yml
luwes Jun 18, 2022
cb532d5
build(deps-dev): bump @web/test-runner from 0.13.27 to 0.13.30
dependabot[bot] Jun 18, 2022
c13f355
build(deps-dev): bump prettier from 2.5.1 to 2.7.1
dependabot[bot] Jun 18, 2022
5053e92
build(deps-dev): bump esbuild from 0.14.25 to 0.14.45
dependabot[bot] Jun 18, 2022
0f4728d
build(deps-dev): bump @open-wc/testing from 3.1.2 to 3.1.5
dependabot[bot] Jun 18, 2022
2de7f1d
fix: bump super-media-element from 0.1.1 to 0.2.0 (#3)
dependabot[bot] Jun 18, 2022
63c51c9
ci: add publish flow
luwes Jun 18, 2022
e4ad066
docs(CHANGELOG): v0.1.3
github-actions[bot] Jun 18, 2022
8435b00
chore(release): 0.1.3
github-actions[bot] Jun 18, 2022
cccf00e
fix: optimize CSS requests if controls disabled
luwes Jun 18, 2022
e427b59
docs(CHANGELOG): v0.1.4
github-actions[bot] Jun 18, 2022
ebfc2b1
chore(release): 0.1.4
github-actions[bot] Jun 18, 2022
31eec2b
build(deps-dev): bump esbuild from 0.14.45 to 0.14.47 (#12)
dependabot[bot] Jun 21, 2022
8eada3f
build(deps-dev): bump eslint from 8.10.0 to 8.18.0 (#9)
dependabot[bot] Jun 21, 2022
67652e5
build(deps-dev): bump @web/test-runner from 0.13.30 to 0.13.31 (#11)
dependabot[bot] Jun 21, 2022
6a86c3a
build(deps-dev): bump @open-wc/testing from 3.1.5 to 3.1.6 (#8)
dependabot[bot] Jun 21, 2022
6cd4448
fix: upgrade super-media-element
luwes Jul 3, 2022
eb5fa42
fix: loadScript race condition
luwes Jul 3, 2022
3cc33e8
docs(CHANGELOG): v0.1.5
github-actions[bot] Jul 3, 2022
03298a5
chore(release): 0.1.5
github-actions[bot] Jul 3, 2022
0712f9e
build(deps-dev): bump eslint from 8.18.0 to 8.19.0 (#14)
dependabot[bot] Jul 14, 2022
02d55e3
build(deps-dev): bump esbuild from 0.14.47 to 0.14.49 (#15)
dependabot[bot] Jul 14, 2022
d5755e5
build(deps-dev): bump eslint from 8.19.0 to 8.20.0 (#16)
dependabot[bot] Jul 18, 2022
c923e7c
build(deps-dev): bump esbuild from 0.14.49 to 0.14.50 (#17)
dependabot[bot] Jul 25, 2022
d87bfcb
build(deps-dev): bump esbuild from 0.14.50 to 0.14.51 (#18)
dependabot[bot] Jul 29, 2022
6899eda
build(deps-dev): bump eslint from 8.20.0 to 8.21.0 (#19)
dependabot[bot] Aug 1, 2022
d2f82f9
build(deps): bump super-media-element from 0.3.0 to 0.3.1 (#20)
dependabot[bot] Aug 1, 2022
4c3b475
build(deps-dev): bump esbuild from 0.14.51 to 0.14.53 (#21)
dependabot[bot] Aug 3, 2022
47769d6
build(deps-dev): bump eslint from 8.21.0 to 8.22.0 (#26)
dependabot[bot] Aug 22, 2022
14055d2
build(deps-dev): bump esbuild from 0.14.53 to 0.15.5 (#28)
dependabot[bot] Aug 22, 2022
89dafcd
build(deps-dev): bump @web/test-runner from 0.13.31 to 0.14.0 (#22)
dependabot[bot] Aug 22, 2022
823b9e2
build(deps-dev): bump esbuild from 0.15.5 to 0.15.6 (#30)
dependabot[bot] Aug 30, 2022
f98fbd6
build(deps-dev): bump eslint from 8.22.0 to 8.23.0 (#29)
dependabot[bot] Aug 30, 2022
13df32e
build(deps-dev): bump eslint from 8.23.0 to 8.23.1 (#32)
dependabot[bot] Sep 12, 2022
ba7e608
build(deps-dev): bump eslint from 8.23.1 to 8.24.0 (#35)
dependabot[bot] Sep 26, 2022
1d8e083
build(deps-dev): bump @web/test-runner from 0.14.0 to 0.15.0
dependabot[bot] Oct 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
36 changes: 36 additions & 0 deletions .github/scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env bash

# npm publish with goodies
# inspired by https://gist.github.com/stevemao/280ef22ee861323993a0
#
# prerequisites:
# `npm install -D conventional-recommended-bump \
# conventional-changelog-cli conventional-github-releaser`
# `release` with optional argument `patch`/`minor`/`major`/`<version>`
# defaults to conventional-recommended-bump

# `np` is not suitable for CI/CD
# https://github.com/sindresorhus/np/issues/619#issuecomment-994493179

release() {
BUMP=$(npx -p conventional-changelog-angular -p conventional-recommended-bump -c 'conventional-recommended-bump -p angular')
VERSION=$(npm --no-git-tag-version version ${1:-$BUMP})
npx conventional-changelog-cli -p angular -i CHANGELOG.md -s
git add CHANGELOG.md
git commit -m "docs(CHANGELOG): $VERSION"
npm --force --allow-same-version version $VERSION -m "chore(release): %s"
git push --follow-tags
npx conventional-github-releaser -p angular
npm publish
};

canary() {
# get last published version from NPM without alpha / beta, remove -SHA hash
LAST_VERSION=$(npm view videojs-video-element versions --json |
jq -r '. - map(select(contains("alpha") or contains("beta"))) | last' |
sed -r 's/-[a-z0-9]{7}$//g')
PRE_VERSION=$(npx semver $LAST_VERSION -i prerelease --preid canary)
VERSION=$PRE_VERSION-$(git rev-parse --short HEAD)
npm --no-git-tag-version version $VERSION
npm publish --tag canary
}
47 changes: 47 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CD

concurrency: production

on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
version_type:
type: choice
required: true
description: Version
options:
- conventional
- patch
- minor
- major

jobs:
deploy:
runs-on: ubuntu-latest
environment: production

env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# 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: npm ci
- run: npm test
- run: npm run build
- run: . ./.github/scripts/publish.sh; release ${{ inputs.version_type }}
if: ${{ inputs.version_type != 'conventional' }}
shell: bash
- run: . ./.github/scripts/publish.sh; release
if: ${{ inputs.version_type == 'conventional' }}
shell: bash
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
## [0.1.5](https://github.com/luwes/videojs-video-element/compare/v0.1.4...v0.1.5) (2022-07-03)


### Bug Fixes

* loadScript race condition ([eb5fa42](https://github.com/luwes/videojs-video-element/commit/eb5fa425b9a5d949227cff86d6a221565bed0c08))
* upgrade super-media-element ([6cd4448](https://github.com/luwes/videojs-video-element/commit/6cd4448bc219b994ca39bab0a2d95befe057ef51))



## [0.1.4](https://github.com/luwes/videojs-video-element/compare/v0.1.3...v0.1.4) (2022-06-18)


### Bug Fixes

* optimize CSS requests if controls disabled ([cccf00e](https://github.com/luwes/videojs-video-element/commit/cccf00e8d95554b67cca012b0cb30b334f311b8e))



## [0.1.3](https://github.com/luwes/videojs-video-element/compare/v0.1.2...v0.1.3) (2022-06-18)


### Bug Fixes

* bump super-media-element from 0.1.1 to 0.2.0 ([#3](https://github.com/luwes/videojs-video-element/issues/3)) ([2de7f1d](https://github.com/luwes/videojs-video-element/commit/2de7f1dc1b857de7ab0fb11406b2c054e5cc600c))



## [0.1.2](https://github.com/luwes/videojs-video-element/compare/v0.1.1...v0.1.2) (2022-06-17)


### Bug Fixes

* autoplay issue ([b8a6f1f](https://github.com/luwes/videojs-video-element/commit/b8a6f1ffa7405e857342d2f1ca344c0efecf1ae3))
* props and volumechange event ([d81a131](https://github.com/luwes/videojs-video-element/commit/d81a13185c36ff77460d5cfd1aa9254c3de3edbd))
* upgrade super-media-element ([fc0e164](https://github.com/luwes/videojs-video-element/commit/fc0e16445117fffec3db9455ac54fc7da5a9585f))



## [0.1.1](https://github.com/luwes/videojs-video-element/compare/6b41c855bb14e0d38c2a4006087624bcee1b907b...v0.1.1) (2022-06-17)


### Bug Fixes

* duration in test ([434cc60](https://github.com/luwes/videojs-video-element/commit/434cc604889118b3f22b9488f65f8dc8e56cc80e))


### Features

* sow the seeds of videojs-video ([6b41c85](https://github.com/luwes/videojs-video-element/commit/6b41c855bb14e0d38c2a4006087624bcee1b907b))