Skip to content

Commit

Permalink
feat: embrace proxy (#366)
Browse files Browse the repository at this point in the history
* feat: embrace proxies

* cleanup

* perf proxy structure

* embrace proxy structure

* version up
  • Loading branch information
riimuru authored Jul 24, 2023
1 parent 240929f commit 11935e8
Show file tree
Hide file tree
Showing 70 changed files with 702 additions and 406 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Node.js Package

on:
release:
types: [created]
types: [ created ]
workflow_dispatch:
branches: [master]
branches: [ master ]

jobs:
build:
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/push-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Compile TS

on:
workflow_run:
workflows: ["Node.js CI"]
types:
- completed

jobs:
build:
runs-on: ubuntu-latest
steps:
# run only if this is a pull request
- name: Check if pull request
id: pr
run: echo "::set-output name=is_pr::$(test ${{ github.event.workflow_run.event.pull_request }} -eq 1 && echo true || echo false)"
# exit if this is not a pull request
- name: Exit if not pull request
if: steps.pr.outputs.is_pr == 'false'
run: exit 0

# clone the repo
- name: Checkout
uses: actions/checkout@v3

# compile typescript
- name: Compile TS
run: npm run build

# push changes to the pull request
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'build: compile typescript'
commit_options: '--no-verify'
repository: ${{ github.repository }}
branch: ${{ github.head_ref }}


5 changes: 2 additions & 3 deletions dist/extractors/asianload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/extractors/asianload.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/extractors/gogocdn.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/extractors/gogocdn.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions dist/extractors/kwik.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 11935e8

Please sign in to comment.