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

feat: add LLRT #42

Merged
merged 7 commits into from Mar 13, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/update-data.yml
Expand Up @@ -36,6 +36,22 @@ jobs:
fileName: fastly_*_linux_amd64.deb
- name: Install Fastly CLI
run: sudo dpkg -i fastly_*_linux_amd64.deb && fastly version
- name: Download LLRT
uses: robinraju/[email protected]
with:
repository: awslabs/llrt
latest: true
fileName: llrt-linux-x64.zip
out-file-path: downloads
# Manually unzip because this seems to corrupt the binary
extract: false

- name: Setup LLRT
run: |
export DOWNLOADS="$GITHUB_WORKSPACE/downloads"
unzip $DOWNLOADS/llrt-linux-x64.zip -d $DOWNLOADS
sudo chmod +x $DOWNLOADS/*
echo "$DOWNLOADS" >> $GITHUB_PATH
- run: pnpm install
- name: Get browser tests
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions apps/website/src/components/RuntimeCard.vue
Expand Up @@ -51,6 +51,8 @@ function getRuntimeInformation(name: string): RuntimeInformation {
return { name: 'Deno', github: 'https://github.com/denoland/deno', website: 'https://deno.com' };
case 'fastly':
return { name: 'fastly', github: 'https://github.com/fastly/js-compute-runtime', website: 'https://www.fastly.com/products/compute' };
case 'llrt':
return { name: 'LLRT', github: 'https://github.com/awslabs/llrt' };
case 'netlify':
return { name: 'netlify', website: 'https://docs.netlify.com/edge-functions/overview' };
case 'node':
Expand Down
Binary file added apps/website/src/public/llrt.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions generator/runtimes/bun/package.json
@@ -1,5 +1,6 @@
{
"name": "bun-runtime",
"private": true,
"version": "1.0.0",
"description": "",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions generator/runtimes/deno/package.json
@@ -1,5 +1,6 @@
{
"name": "deno-runtime",
"private": true,
"version": "1.0.0",
"description": "",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion generator/runtimes/edge-light/package.json
@@ -1,5 +1,6 @@
{
"name": "edge-light-runtime",
"private": true,
"version": "1.0.0",
"description": "",
"main": "dist/run.mjs",
Expand Down Expand Up @@ -31,4 +32,4 @@
"dependencies": {
"edge-runtime": "^2.5.9"
}
}
}
3 changes: 2 additions & 1 deletion generator/runtimes/fastly/package.json
@@ -1,5 +1,6 @@
{
"name": "fastly-runtime",
"private": true,
"type": "module",
"dependencies": {
"@fastly/js-compute": "^3.9.1",
Expand All @@ -24,4 +25,4 @@
}
}
}
}
}