Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update to pion #64

Merged
merged 2 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 5 additions & 38 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,14 @@
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 16.x
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'

- name: Install
run: npm ci

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

- name: Test and report
env:
GIT_BRANCH: ${{ github.ref == 'refs/heads/master' && 'master' || github.ref }}
GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: |
echo "::add-matcher::.github/problem-matcher.json"
npm test
build:
uses: Neovici/cfg/.github/workflows/forge.yml@master
secrets: inherit

- name: Semantic release
run: npx semantic-release
if: success()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
2 changes: 1 addition & 1 deletion cosmoz-treenode.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { component, html } from 'haunted';
import { component, html } from '@pionjs/pion';

export const computePathToRender = (path, hideFromRoot, showMaxNodes) => {
if (!path) {
Expand Down
Loading