mirror of
https://github.com/NickKaramoff/shareon
synced 2025-02-08 07:38:52 +01:00
Add CI job to format with Deno
This commit is contained in:
parent
17a100cb2e
commit
5267bcbd47
24
.github/workflows/ci.yaml
vendored
Normal file
24
.github/workflows/ci.yaml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
format:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
- uses: denoland/setup-deno@v2
|
||||||
|
with:
|
||||||
|
deno-version: v2.x
|
||||||
|
- run: script/fmt
|
||||||
|
- uses: pre-commit-ci/lite-action@v1.1.0
|
||||||
|
if: ${{ github.event_name == 'pull_request' }}
|
Loading…
x
Reference in New Issue
Block a user