parent
51ae16e57f
commit
b376bbd2aa
18
.gitea/workflows/test_and_lint.yml
Normal file
18
.gitea/workflows/test_and_lint.yml
Normal file
@ -0,0 +1,18 @@
|
||||
name: Test and lint
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
jobs:
|
||||
test_and_lint:
|
||||
name: Test and lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
- uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: v2.1.x
|
||||
- run: "deno task test"
|
||||
- run: "deno lint"
|
@ -2,7 +2,8 @@
|
||||
"tasks": {
|
||||
"dev": "deno run --allow-all --watch server.ts",
|
||||
"server": "deno run --allow-all server.ts",
|
||||
"compile": "deno compile --allow-all --include ./assets/ --output substr server.ts"
|
||||
"compile": "deno compile --allow-all --include ./assets/ --output substr server.ts",
|
||||
"test": "deno test --allow-read --allow-env"
|
||||
},
|
||||
"imports": {
|
||||
"@deno/gfm": "jsr:@deno/gfm@^0.10.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user