Skip to content

Commit

Permalink
chore: create github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Cnily03 committed Jul 31, 2024
1 parent 73c9cba commit 511f617
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
- push
- pull_request


jobs:
dry-run:
name: Dry Run
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Build
run: bun build src/index.js --minify
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,19 @@ This is a Cloudflare Worker that mirrors to another HTTP connection.
- [ ] [PyPI](https://pypi.org)
- [ ] [NPM](https://www.npmjs.com)

## Configuration
## Getting Started

### Installation

Run the following command to install dependencies:

```bash
bun install
```

Other package managers can be used as well.

### Configuration

Create file `.dev.vars` at the root of the project and add the following content:

Expand All @@ -36,6 +48,8 @@ DOMAINS = ["example.com"]
FORBID_HTML = true
```

## Development
## License

CopyRight (c) Cnily03. All rights reserved.

This project will be refactored and updated in the future.
Licensed under the [MIT](./LICENSE) License.
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit 511f617

Please sign in to comment.