Skip to content

Commit 621d94f

Browse files
Modernize CI and formatting tools
1 parent 7fccf1a commit 621d94f

8 files changed

Lines changed: 783 additions & 1147 deletions

File tree

‎.eslintrc.json‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎.github/workflows/ci.yml‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,21 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v6
1414

15-
- uses: actions/setup-node@v2
15+
- uses: actions/setup-node@v6
1616
with:
1717
node-version: "24"
18+
cache: npm
1819

1920
- name: Install dependencies
2021
run: npm ci
2122

23+
- name: Check formatting and lint
24+
run: |
25+
npm run format:check
26+
npm run lint
27+
2228
- name: Build source
2329
run: npm run-script build
2430

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/.*
22
!/.gitignore
3-
!/.eslintrc.json
3+
!/.oxfmtrc.json
44
!/.github/
55
/bower_components/
66
/node_modules/

‎.oxfmtrc.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"trailingComma": "es5"
3+
}

0 commit comments

Comments
 (0)