Merge pull request #1842 from vinayakkulkarni/dependabot/npm_and_yarn⦠#981
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: 'Deploy to Pages' | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-demo: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: './example/' | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Setup node env π¦ | |
uses: oven-sh/setup-bun@v1 | |
- name: Install dependencies π | |
run: bun install | |
- name: Run build π | |
run: bun run build | |
- name: Deploy to GitHub Pages π | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./example/dist | |
cname: v-tweakpane.netlify.app |