-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (35 loc) · 809 Bytes
/
Copy pathci.yml
File metadata and controls
39 lines (35 loc) · 809 Bytes
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
name: CI
permissions:
contents: read
on:
push:
branches:
- master
pull_request:
env:
CLICOLOR: 1
jobs:
spelling:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v6
- name: Spell Check Repo
uses: crate-ci/typos@v1.46.0
js:
name: Check formatting and linting and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Install dependencies
run: npm clean-install
- name: Check formatting with Prettier
run: npm run prettier:check
- name: Check linting with ESLint
run: npm run lint
- name: Test
run: npm test