Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure everything is compiling #18

Merged
merged 4 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/cool-chicken-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bunny.net/edgescript-sdk": patch
---

Bump publish
8 changes: 6 additions & 2 deletions .github/actions/setup-project/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Setup Node, pnpm & install'
name: 'Setup Node, deno, pnpm & install'

description: 'Setup node, pnpm and install'
description: 'Setup node, deno, pnpm and install'

runs:
using: "composite"
Expand All @@ -15,6 +15,10 @@ runs:
cache: 'pnpm'
cache-dependency-path: './pnpm-lock.yaml'

- uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Install
shell: bash
run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion example/deno-simple-http-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"license": "MIT",
"scripts": {
"lint": "deno lint",
"test": "deno test",
"test": "deno test --allow-none",
"build": "echo \"No build with Deno!\"",
"dev": "deno run src/main.ts",
"release": "echo \"No release\""
Expand Down
8 changes: 6 additions & 2 deletions example/deno-simple-http-page/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import * as BunnySDK from "@bunny.net/edgescript-sdk";

function sleep(ms: number): Promise<void> {
return new Promise((resolve) => setTimeout(resolve, ms));
}

console.log("Starting server...");
BunnySDK.net.http.serve({ port: 8080, hostname: '127.0.0.1' }, async (req) => {
console.log("blbl");
console.log(req.url);
console.log(`[INFO]: ${req.method} - ${req.url}`);
await sleep(1);
return new Response("blbl");
});
6 changes: 0 additions & 6 deletions example/simple-http-page/coverage/clover.xml

This file was deleted.

1 change: 0 additions & 1 deletion example/simple-http-page/coverage/coverage-final.json

This file was deleted.

224 changes: 0 additions & 224 deletions example/simple-http-page/coverage/lcov-report/base.css

This file was deleted.

87 changes: 0 additions & 87 deletions example/simple-http-page/coverage/lcov-report/block-navigation.js

This file was deleted.

Binary file not shown.
Loading
Loading