build(deps): bump @types/youtube from 0.1.2 to 0.2.0 (#302) #62
This file contains hidden or 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: Deploy | |
| on: | |
| push: | |
| branches: | |
| - default | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| - name: Install | |
| run: npm install | |
| - name: Run tests | |
| run: npm test | |
| - name: Build module | |
| run: npm run build | |
| - name: Build example | |
| run: npm run --prefix example build | |
| - name: Publish site | |
| if: success() | |
| uses: crazy-max/ghaction-github-pages@v5 | |
| with: | |
| target_branch: gh-pages | |
| build_dir: example/dist | |
| keep_history: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |