Skip to content

Commit

Permalink
Merge pull request #101 from voxeet/release/3.1.0
Browse files Browse the repository at this point in the history
Release - 3.1.0
  • Loading branch information
Energizz authored Mar 1, 2021
2 parents 7492059 + 368e48a commit c969e6a
Show file tree
Hide file tree
Showing 39 changed files with 1,809 additions and 700 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/build_publish_snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Snapshot build and publish

on:
push:
branches:
- 'develop'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: rlespinasse/github-slug-action@v3.x
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- id: codeartifact_login
name: Login to CodeArtifact
run: |
CODEARTIFACT_TOKEN=$(/usr/local/bin/aws codeartifact get-authorization-token --duration-seconds 900 --domain ${{ secrets.CODEARTIFACT_DOMAIN }} --domain-owner ${{ secrets.CODEARTIFACT_DOMAIN_OWNER }} --region ${{ secrets.AWS_REGION }} --output text --query authorizationToken)
echo "::add-mask::$CODEARTIFACT_TOKEN"
echo "CODEARTIFACT_TOKEN=$CODEARTIFACT_TOKEN" >> $GITHUB_ENV
- name: setting nodejs
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: ${{ secrets.CODEARTIFACT_NPM_RELEASES_REPOSITORY_URL }}
always-auth: true

- name: install dependencies
run: |
yarn install
env:
NODE_AUTH_TOKEN: ${{ env.CODEARTIFACT_TOKEN }}

- name: setting nodejs
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: ${{ secrets.CODEARTIFACT_NPM_SNAPSHOTS_REPOSITORY_URL }}
always-auth: true

- name: build and publish
run: |
npm --no-git-tag-version version $(npm run --silent get-version)-$GITHUB_SHA
yarn publish
env:
NODE_AUTH_TOKEN: ${{ env.CODEARTIFACT_TOKEN }}

- name: create NPM tag for develop version
run: |
npm dist-tag add @voxeet/react-components@$(npm run --silent get-version) ${{ env.GITHUB_REF_SLUG }}
env:
NODE_AUTH_TOKEN: ${{ env.CODEARTIFACT_TOKEN }}
47 changes: 47 additions & 0 deletions .github/workflows/build_snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Snapshot build

on:
push:
branches-ignore:
- 'develop'
- 'master'
- 'release-**'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: rlespinasse/github-slug-action@v3.x
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- id: codeartifact_login
name: Login to CodeArtifact
run: |
CODEARTIFACT_TOKEN=$(/usr/local/bin/aws codeartifact get-authorization-token --duration-seconds 900 --domain ${{ secrets.CODEARTIFACT_DOMAIN }} --domain-owner ${{ secrets.CODEARTIFACT_DOMAIN_OWNER }} --region ${{ secrets.AWS_REGION }} --output text --query authorizationToken)
echo "::add-mask::$CODEARTIFACT_TOKEN"
echo "CODEARTIFACT_TOKEN=$CODEARTIFACT_TOKEN" >> $GITHUB_ENV
- name: setting nodejs
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: ${{ secrets.CODEARTIFACT_NPM_RELEASES_REPOSITORY_URL }}
always-auth: true

- name: install dependencies
run: |
yarn install
env:
NODE_AUTH_TOKEN: ${{ env.CODEARTIFACT_TOKEN }}

- name: build
run: |
npm run build
41 changes: 0 additions & 41 deletions .github/workflows/ci.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
*.swp
node_modules/
dist/
dist/
.idea
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ yarn add @voxeet/voxeet-web-sdk @voxeet/react-components @voxeet/react-redux-5.1

## Changelog

### 3.1.0

#### Features

- Introduced the Video Forwarding feature to allow participants to dynamically control the number of transmitted video streams. The Video Forwarding article describes in detail the changes to Interactivity APIs.

### 3.0.1

#### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@voxeet/react-components",
"version": "3.0.1",
"version": "3.1.0",
"description": "",
"main": "./dist/bundle.js",
"scripts": {
Expand Down
Loading

0 comments on commit c969e6a

Please sign in to comment.