Skip to content

Commit f7dd75d

Browse files
committed
add linting CI workflow
1 parent 6af0f1d commit f7dd75d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@ on:
1919
- cron: '0 6 * * 0'
2020

2121
jobs:
22+
lint-all-packages:
23+
runs-on: ubuntu-latest
24+
timeout-minutes: 5
25+
26+
steps:
27+
- uses: actions/checkout@v3
28+
- uses: pnpm/action-setup@v2
29+
with:
30+
version: 7
31+
- name: Use Node.js ${{ matrix.node-version }}
32+
uses: actions/setup-node@v3
33+
with:
34+
node-version: ${{ matrix.node-version }}
35+
cache: pnpm
36+
- run: pnpm install --frozen-lockfile
37+
- run: pnpm --filter "./packages/*" lint
38+
2239
test-all-packages:
2340
name: Ember Tests
2441
runs-on: ${{ matrix.os }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ node_modules/
1616
/npm-debug.log*
1717
/testem.log
1818
yarn-error.log
19+
.eslintcache
1920

2021
# ember-try
2122
.node_modules.ember-try/

0 commit comments

Comments
 (0)