-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge pull request #5 from
threeal/main
Version 0.1.0 Release
- Loading branch information
Showing
17 changed files
with
7,112 additions
and
1 deletion.
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,3 @@ | ||
const dev = require("@actions-kit/dev"); | ||
|
||
module.exports = dev.createEslintConfig(); |
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,40 @@ | ||
name: build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: ['*', '!latest'] | ||
push: | ||
branches: [latest, main] | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Cache deps | ||
uses: actions/[email protected] | ||
with: | ||
path: node_modules | ||
key: node-${{ runner.os }}-${{ hashFiles('package-lock.json') }} | ||
|
||
- name: Install deps | ||
run: npm install | ||
|
||
- name: Check format | ||
run: npm run format | ||
|
||
- name: Check lint | ||
run: npm run lint | ||
|
||
- name: Clean Project | ||
run: npm run clean | ||
|
||
- name: Build project | ||
run: npm run build | ||
|
||
- name: Test project | ||
run: npm test | ||
|
||
- name: Check diff | ||
run: git diff --exit-code HEAD |
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,2 +1,9 @@ | ||
.* | ||
!.eslint* | ||
!.git* | ||
|
||
*.log | ||
tsconfig.eslint.json | ||
|
||
coverage/ | ||
node_modules/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { createJestConfig } from "@actions-kit/dev"; | ||
|
||
export default createJestConfig(); |
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 @@ | ||
export {}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Retrieves a list of websites from Google search results based on the provided keyword. | ||
* @param keyword The keyword to search for. | ||
* @returns A promise that resolves to an array of website URLs. | ||
*/ | ||
export declare function listWebsites(keyword: string): Promise<string[]>; | ||
/** | ||
* Retrieves the rank of a website in Google search results for a specific keyword. | ||
* @param website The website URL to check the rank for. | ||
* @param keyword The keyword to search for. | ||
* @returns A promise that resolves to the rank of the website (1-based index). Returns 0 if the website is not found in the search results. | ||
*/ | ||
export declare function getWebsiteRank(website: string, keyword: string): Promise<number>; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.