Compare commits
2 Commits
66fcd4e91a
...
018987c49d
Author | SHA1 | Date | |
---|---|---|---|
018987c49d | |||
d939245851 |
@ -1,27 +1,20 @@
|
|||||||
name: Validate
|
name: Integration
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
branches: main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: main
|
branches: main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
name: Validate
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write # Needed for auth with Deno Deploy
|
|
||||||
contents: read # Needed to clone the repository
|
contents: read # Needed to clone the repository
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Deno
|
- name: Install Deno
|
||||||
uses: denoland/setup-deno@v1
|
uses: denoland/setup-deno@v1
|
||||||
with:
|
with:
|
||||||
deno-version: v1.x
|
deno-version: v1.x
|
||||||
|
|
||||||
- name: Check
|
- name: Check
|
||||||
run: "deno task check"
|
run: "deno task check"
|
25
.gitea/workflows/release.yaml
Normal file
25
.gitea/workflows/release.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: Release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read # Needed to clone the repository
|
||||||
|
steps:
|
||||||
|
- name: Clone
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Install Deno
|
||||||
|
uses: denoland/setup-deno@v1
|
||||||
|
with:
|
||||||
|
deno-version: v1.x
|
||||||
|
- name: Compile
|
||||||
|
run: "deno task compile"
|
||||||
|
- name: Release
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
artifacts: "bunker"
|
||||||
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
# Bunker
|
# Bunker
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
"tasks": {
|
"tasks": {
|
||||||
"check": "deno check main.ts",
|
"check": "deno check main.ts",
|
||||||
"dev": "deno run -A --unstable-ffi --env main.ts",
|
"dev": "deno run -A --unstable-ffi --env main.ts",
|
||||||
"compile": "deno compile --allow-net --allow-read --allow-env --allow-write --allow-ffi --allow-run --unstable-ffi --env main.ts"
|
"compile": "deno compile --allow-net --allow-read --allow-env --allow-write --allow-ffi --allow-run --unstable-ffi --env main.ts",
|
||||||
|
"reset-db": "rm -rf bunker.db && sqlite3 bunker.db '.read database.sql'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user