Skip to content

Commit

Permalink
Merge pull request #64 from Neovici/feat/pion
Browse files Browse the repository at this point in the history
feat: update to pion
  • Loading branch information
megheaiulian authored Jan 11, 2024
2 parents 17f327b + de4ef38 commit 213023c
Show file tree
Hide file tree
Showing 5 changed files with 9,030 additions and 17,525 deletions.
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

0 comments on commit 213023c

Please sign in to comment.