Added a YuvWriter class to use ffmpeg as encoder too (#25) #24
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
name: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download dependencies | |
run: | | |
npm install | |
- name: Compile TypeScript | |
run: | | |
./node_modules/typescript/bin/tsc | |
- name: Publish to npm | |
run: | | |
echo registry=https://registry.npmjs.org/ >> .npmrc | |
echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} >> .npmrc | |
echo [email protected] >> .npmrc | |
echo always-auth=true >> .npmrc | |
npm config set registry https://registry.npmjs.org/ | |
npm publish | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |