-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflow for lint checks and npm release
- Loading branch information
1 parent
cbada5b
commit 02097a0
Showing
2 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
name: Checks | ||
name: Lint Checks | ||
on: [push] | ||
jobs: | ||
ci: | ||
name: Lint using rome | ||
name: Lint using biome | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 1 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Installing dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: Lint rome | ||
run: yarn rome ci . | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js and pnpm | ||
uses: wyvox/action-setup-pnpm@v3 | ||
with: | ||
node-version: '18' | ||
- name: Lint biome | ||
run: pnpm biome ci . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters