-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): updates github actions workflows
- Loading branch information
1 parent
fd49a2f
commit 21d2b1c
Showing
8 changed files
with
117 additions
and
166 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: 'Install' | ||
description: 'Sets up Node, and installs dependencies' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Set up PNPM | ||
uses: pnpm/action-setup@v3 | ||
with: | ||
version: '7' | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: | | ||
corepack enable | ||
pnpm install |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: 'Lint Code' | ||
description: 'Runs Commitlint, ESLint, and Prettier to ensure code quality.' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Run Commitlint | ||
shell: bash | ||
run: | | ||
git log -1 --pretty=%B | pnpm exec commitlint | ||
- name: Run ESLint | ||
shell: bash | ||
run: pnpm eslint . --max-warnings=0 | ||
|
||
- name: Run Prettier | ||
shell: bash | ||
run: pnpm prettier --check . |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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