generated from buapearchive/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1.07 KB
/
ci.yml
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: CI
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
jobs:
build:
name: Check for Successful Build
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Setup
uses: ./.github/actions/setup
- name: Build
run: pnpm build
eslint:
name: Check Formatting
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Setup
uses: ./.github/actions/setup
- name: Run ESLint
uses: sibiraj-s/action-eslint@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
eslint-args: "--ignore-path=.gitignore --quiet"
extensions: "js,jsx,ts,tsx"
annotations: true