Skip to content

feat: changed to use transaction instead of managing sessions manuall… #32

feat: changed to use transaction instead of managing sessions manuall…

feat: changed to use transaction instead of managing sessions manuall… #32

Workflow file for this run

name: Deploy Player
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
name: Deployment
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-node@v3
with:
node-version: "16.16.0"
registry-url: "https://npm.pkg.github.com"
scope: "@streamyard"
- name: Install Dependencies
run: npm ci
- name: Build Package
run: npm run package
- name: Publish
if: ${{ github.ref == 'refs/heads/main' }}
run: npm publish --access restricted ./build/package
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}