UNPKG

video-ad-sdk

Version:

VAST/VPAID SDK that allows video ads to be played on top of any player

42 lines (38 loc) 866 B
name: Release on: push: branches: - master jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: cache: yarn node-version: '18.x' - run: yarn - run: yarn build - run: yarn release env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} pages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Use Node.js uses: actions/setup-node@v3 with: cache: yarn node-version: '18.x' - run: yarn - run: yarn docs - run: yarn demo - name: Deploy uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages folder: public