Files
userstyles/.github/workflows/lint.yml
T
winstonanduncenter ff8da1e094 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]>
2023-11-16 22:45:25 +01:00

35 lines
584 B
YAML

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