Skip to content

chore(deps): update p5-wrapper/setup-action action to v1.0.5 (#276) #69

chore(deps): update p5-wrapper/setup-action action to v1.0.5 (#276)

chore(deps): update p5-wrapper/setup-action action to v1.0.5 (#276) #69

Workflow file for this run

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.5
with:
token: ${{ secrets.GH_TOKEN }}
- 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.5
with:
token: ${{ secrets.GH_TOKEN }}
- name: Build the component
run: pnpm build:component
- uses: JS-DevTools/npm-publish@v2
with:
access: "public"
token: ${{ secrets.NPM_TOKEN }}