This commit is contained in:
parent
46737d8f0f
commit
0a683ea75d
30
.gitea/workflows/validate.yaml
Normal file
30
.gitea/workflows/validate.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Validate
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: main
|
||||||
|
pull_request:
|
||||||
|
branches: main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
validate:
|
||||||
|
name: Validate
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
id-token: write # Needed for auth with Deno Deploy
|
||||||
|
contents: read # Needed to clone the repository
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install Deno
|
||||||
|
uses: denoland/setup-deno@v1
|
||||||
|
with:
|
||||||
|
deno-version: v1.x
|
||||||
|
|
||||||
|
- name: Check
|
||||||
|
run: "deno task check"
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: "deno task test"
|
Loading…
Reference in New Issue
Block a user