-
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (46 loc) · 1.06 KB
/
ci.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
42
43
44
45
46
47
48
49
50
51
on:
push:
pull_request:
schedule:
- cron: '0 */6 * * *'
jobs:
ci:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions: read-all
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
- run: pnpm i --frozen-lockfile
- run: pnpm secretlint **/*
- run: pnpm check
- run: pnpm lint
spell-check:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- uses: crate-ci/typos@master
with:
files: ./src/contents/**/*.md
config: ./typos.toml
secretlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Run secretlint
shell: bash
run: npx @secretlint/quick-start ./**/*
action-timeline:
needs:
- ci
- spell-check
- secretlint
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- uses: Kesin11/actions-timeline@v2