Update dependencies and bundler config (#290) #79
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: CD | |
on: | |
push: | |
branches: [master] | |
concurrency: cd-${{ github.ref }} | |
jobs: | |
gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: P5-wrapper/setup-action@v1.0.6 | |
- name: Build the demo application | |
run: pnpm build:demo | |
- name: Deploy the demo application | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: dist/demo | |
npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: P5-wrapper/setup-action@v1.0.6 | |
- name: Build the component | |
run: pnpm build:component | |
- uses: JS-DevTools/npm-publish@v3 | |
with: | |
access: "public" | |
token: ${{ secrets.NPM_TOKEN }} |