ci(lint): init (#318)
* ci(lint): init This finishes what #132 started, supersedes #317 (thanks for the stylelint setup!) * ci(lint): add stylelint Co-authored-by: uncenter <[email protected]>
This commit is contained in:
1 parent
6496c51291
commit
ff8da1e094
13 files changed
+1484
-73
No files matched your search
@@ -0,0 +1,34 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
env:
|
||||
DENO_DIR: deno_cache
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint Userstyles
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Deno
|
||||
uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: v1.x
|
||||
|
||||
- name: Cache Deno dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
key: ${{ hashFiles('src/deno.lock') }}
|
||||
path: ${{ env.DENO_DIR }}
|
||||
|
||||
- name: Run Lint
|
||||
working-directory: src
|
||||
run: deno task lint
|
||||
Reference in new issue
Block a user