Skip to content

Commit

Permalink
feat: udpate to pion
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Update to @pionjs/pion
  • Loading branch information
megheaiulian committed Jan 11, 2024
1 parent fb6bef6 commit 3730409
Show file tree
Hide file tree
Showing 8 changed files with 6,089 additions and 3,927 deletions.
49 changes: 5 additions & 44 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,13 @@
---
name: Github CI
name: CI
on:
pull_request:
branches:
- master
- beta
push:
branches:
- master
- beta
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: 'npm'

- name: Install
run: npm ci

- name: Lint commit messages
uses: wagoid/commitlint-github-action@v3

- name: ESLint
run: npm run lint

- name: Test and report
run: |
echo "::add-matcher::.github/problem-matcher.json"
npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Semantic release
run: npx semantic-release
if: success()
env:
HUSKY: 0
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
build:
uses: Neovici/cfg/.github/workflows/forge.yml@master
secrets: inherit
6 changes: 3 additions & 3 deletions cosmoz-grouped-list.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
renderCosmozGroupedList,
useCosmozGroupedList
useCosmozGroupedList,
} from './use-cosmoz-grouped-list.js';
import { component } from 'haunted';
import { component } from '@pionjs/pion';

const CosmozGroupedList = host =>
const CosmozGroupedList = (host) =>
renderCosmozGroupedList(useCosmozGroupedList(host));

customElements.define(
Expand Down
Loading

0 comments on commit 3730409

Please sign in to comment.