-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from versatica/modernize
Modernize
- Loading branch information
Showing
48 changed files
with
12,195 additions
and
2,734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: mediasoup-client-aiortc | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
# Cancel a currently running workflow from the same PR, branch or tag when a | ||
# new workflow is triggered. | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
ci: | ||
strategy: | ||
matrix: | ||
# Different Node versions on Ubuntu, the latest Node on other platforms. | ||
ci: | ||
- os: ubuntu-22.04 | ||
node: 16 | ||
- os: macos-12 | ||
node: 18 | ||
runs-on: ${{ matrix.ci.os }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.ci.node }} | ||
|
||
- name: Configure cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.npm | ||
key: ${{ matrix.ci.os }}-node-${{ hashFiles('**/package.json') }} | ||
restore-keys: | | ||
${{ matrix.ci.os }}-node- | ||
- run: npm ci | ||
- run: npm run install-python-dev-deps | ||
# NOTE: Avoid lint:python due to | ||
# https://github.com/versatica/mediasoup-client-aiortc/issues/25 | ||
- run: npm run lint:node | ||
- run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
package-lock=false | ||
# Generate package-lock.json. | ||
package-lock=true | ||
# For bad node/npm version to throw actual error. | ||
engine-strict=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.