Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 5 additions & 18 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@ defaults:
shell: bash

jobs:
lint:
name: 'Lint'
timeout-minutes: 15
runs-on: ubuntu-latest-16-cores-arm-open

steps:
- name: Check out code
uses: actions/checkout@v6

- uses: ./.github/actions/setup

- name: Lint
run: yarn lint

test:
name: 'Tests & checks'
timeout-minutes: 15
Expand Down Expand Up @@ -58,13 +44,11 @@ jobs:
path: |
.lazy
**/.lazy
.eslintcache
**/.tsbuild
**/*.tsbuildinfo
node_modules/.cache/prettier
key: test-tools-${{ runner.os }}-${{ hashFiles('yarn.lock', 'eslint.config.mjs', 'lazy.config.ts') }}-${{ github.sha }}
key: test-tools-${{ runner.os }}-${{ hashFiles('yarn.lock', '.oxlintrc.json', '.oxfmtrc.json', 'lazy.config.ts') }}-${{ github.sha }}
restore-keys: |
test-tools-${{ runner.os }}-${{ hashFiles('yarn.lock', 'eslint.config.mjs', 'lazy.config.ts') }}-
test-tools-${{ runner.os }}-${{ hashFiles('yarn.lock', '.oxlintrc.json', '.oxfmtrc.json', 'lazy.config.ts') }}-

- name: Typecheck
run: yarn build-types
Expand All @@ -80,6 +64,9 @@ jobs:
- name: Check API declarations and docs work as intended
run: yarn api-check

- name: Lint
run: yarn lint

- name: Check dotcom localizations
run: |
yarn build-i18n
Expand Down
10 changes: 10 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"trailingComma": "es5",
"singleQuote": true,
"semi": false,
"printWidth": 100,
"tabWidth": 2,
"useTabs": true,
"sortPackageJson": false
}
Loading
Loading