Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k authored Mar 21, 2024
2 parents 916e5c6 + 5c38333 commit e47d066
Show file tree
Hide file tree
Showing 10 changed files with 3,594 additions and 24 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Setup Deno 1.35
uses: denoland/setup-deno@v1
with:
deno-version: v1.35

- name: Setup Node 18
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/

- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install dependencies
run: pnpm i

- name: Test
run: pnpm test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
dist/
dist/
test/**/fixtures/**/env.d.ts
23 changes: 10 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
{
"name": "@astrojs/deno",
"description": "Deploy your site to a Deno server",
"version": "5.0.0",
"description": "Deploy your Astro site to a Deno server",
"version": "5.0.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
"author": "denoland",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/withastro/astro.git",
"directory": "packages/integrations/deno"
"url": "https://github.com/denoland/deno-astro-adapter.git"
},
"keywords": [
"withastro",
"astro-adapter"
],
"bugs": "https://github.com/withastro/astro/issues",
"homepage": "https://docs.astro.build/en/guides/integrations-guide/deno/",
"bugs": "https://github.com/denoland/deno-astro-adapter/issues",
"homepage": "https://github.com/denoland/deno-astro-adapter/",
"exports": {
".": "./dist/index.js",
"./server.js": "./dist/server.js",
"./__deno_imports.js": "./dist/__deno_imports.js",
".": "./src/index.ts",
"./server.ts": "./src/server.ts",
"./__deno_imports.ts": "./src/__deno_imports.ts",
"./package.json": "./package.json"
},
"files": [
"dist"
"src"
],
"scripts": {
"build": "tsc",
"test": "deno test --allow-run --allow-env --allow-read --allow-net ./test/"
},
"dependencies": {
Expand Down
Loading

0 comments on commit e47d066

Please sign in to comment.