Skip to content

Commit

Permalink
chore: setup lint CI
Browse files Browse the repository at this point in the history
  • Loading branch information
elecdeer committed Jul 15, 2024
1 parent 9ee2e20 commit 03f82ab
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint

on:
push:
pull_request:

jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest

- name: Run Biome
run: biome ci .
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js 20.x
uses: actions/setup-node@v3
Expand Down
1 change: 1 addition & 0 deletions packages/addon-source-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"scripts": {
"build": "tsup",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "biome check",
"release": "pnpm run build && changeset publish"
},
"dependencies": {
Expand Down

0 comments on commit 03f82ab

Please sign in to comment.