fix universal videoplayer #49
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
on: | |
push: | |
branches: | |
- main | |
name: Project deploy | |
jobs: | |
deploy: | |
name: Check and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16' | |
- uses: actions/checkout@master | |
name: Checkout | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Run lint and build | |
run: | | |
npm test | |
npm run build | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build |