mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
update husky
This commit is contained in:
25
.github/workflows/publish-doc.yml
vendored
Normal file
25
.github/workflows/publish-doc.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
deployments: write
|
||||
name: Publish Docs
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- run: cd packages/docs && npm i && npm run build
|
||||
|
||||
- name: Publish Docs
|
||||
uses: cloudflare/pages-action@1
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
projectName: bot-whatsapp-docs
|
||||
directory: packages/docs/dist
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
id: publish
|
||||
- name: Deployment URL
|
||||
run: echo "${{ steps.publish.outputs.url }}"
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
echo "⭐⭐⭐⭐⭐⭐⭐⭐ git-cz"
|
||||
exec < /dev/tty && node_modules/.bin/cz --hook || true
|
||||
|
||||
10
packages/rollup-cli.config.js
Normal file
10
packages/rollup-cli.config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const commonjs = require('@rollup/plugin-commonjs')
|
||||
|
||||
module.exports = {
|
||||
input: 'index.js',
|
||||
output: {
|
||||
file: 'lib/index.cjs',
|
||||
format: 'cjs',
|
||||
},
|
||||
plugins: [commonjs()],
|
||||
}
|
||||
Reference in New Issue
Block a user