Skip to content

Commit

Permalink
ci(demo): remove publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tobua committed Feb 20, 2024
1 parent cad53db commit 9910c25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [main]

jobs:
test-publish-build-release:
build-test-release:
runs-on: ubuntu-latest
permissions:
id-token: write
Expand All @@ -18,16 +18,6 @@ jobs:
run: bun run build
- name: 🧪 Test
run: bun test
- name: 🛠️ Build Demo
run: |
cd demo
bun install
bunx papua build
- name: 🚀 Publish Demo
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: publish
folder: demo/dist
- name: 📢 Release
uses: tobua/release-npm-action@v3
with:
Expand Down
1 change: 1 addition & 0 deletions demo/rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default (configuration) => {
'react-dom/test-utils': 'preact/test-utils',
'react-dom': 'preact/compat',
'react/jsx-runtime': 'preact/jsx-runtime',
'react/jsx-dev-runtime': 'preact/jsx-dev-runtime',
}

return configuration
Expand Down

0 comments on commit 9910c25

Please sign in to comment.