-
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1.02 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Main
'on':
merge_group:
push:
branches: [main, 'renovate/**']
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Install mise
env:
MISE_VERSION: 2024.8.7 # renovate: datasource=github-releases packageName=jdx/mise
uses: jdx/mise-action@v2
with:
version: ${{ env.MISE_VERSION }}
- name: 💅🏽 Run Prettier
run: |
# Install our Prettier config and check formatting
npm install @bfra.me/[email protected]
npx [email protected] --no-color --check .devcontainer .dotfiles .github