GitHub Actions, PKCE Downgrade 추가, PlayGround 추가
This commit is contained in:
parent
12f635c77b
commit
2601997ed5
9 changed files with 189 additions and 2 deletions
43
.github/workflows/main.yml
vendored
Normal file
43
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
name: Build and Upload Caido Plugin
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
bun install
|
||||
|
||||
- name: Build plugin
|
||||
run: |
|
||||
bun run build
|
||||
|
||||
- name: Archive built plugin
|
||||
run: |
|
||||
mkdir -p dist-artifact
|
||||
cp -r dist/* dist-artifact/
|
||||
# 만약 manifest.json도 포함되어야 한다면
|
||||
cp manifest.json dist-artifact/
|
||||
|
||||
- name: Upload plugin artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: caido-plugin
|
||||
path: dist-artifact
|
||||
Loading…
Add table
Add a link
Reference in a new issue