Skip to content

Commit

Permalink
chore: types improvements (#226)
Browse files Browse the repository at this point in the history
chore: types improvements

chore: types improvements
  • Loading branch information
alexcastrodev authored Sep 30, 2023
1 parent 5dc3379 commit 495eba6
Show file tree
Hide file tree
Showing 28 changed files with 387 additions and 246 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@ on:
jobs:
install-dependencies:
runs-on: ubuntu-latest

strategy:
matrix:
deno-version: [1.36.1]

steps:
- name: Check if PR is in draft mode
run: |
if [ "${{ github.event.pull_request.draft }}" == "true" ]; then
echo "PR is in draft mode, skipping workflow"
exit 78
fi
- name: Set up Deno
- name: Git Checkout Deno Module
uses: actions/checkout@v2
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denolib/setup-deno@v2
with:
deno-version: "1.37.0"
- name: Run tests
run: deno test --allow-env
deno-version: ${{ matrix.deno-version }}
- name: Deno format check
run: deno fmt --check
- name: Deno lint check
run: deno task lint
- name: Test Deno Module
run: deno task test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode
.env
.idea
.lock
15 changes: 8 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

## Environment

* Deno >= v1.9.2

This comment has been minimized.

Copy link
@SUPERS21

SUPERS21 Dec 23, 2023

demo seems very

* [Vercel](https://vercel.com/)
* GitHub API v4
- Deno >= v1.9.2
- [Vercel](https://vercel.com/)
- GitHub API v4

## Local Run

Create `.env` file to project root directory, and write your GitHub token to the `.env` file.
Please select the authority of `repo` when creating token.
Create `.env` file to project root directory, and write your GitHub token to the
`.env` file. Please select the authority of `repo` when creating token.

```properties
GITHUB_TOKEN1=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Expand All @@ -23,7 +23,7 @@ GITHUB_API=https://github.example.com/api/graphql
Run local server.

```sh
deno run --allow-net --allow-read --allow-env --allow-write debug.ts
deno task start
```

Open localhost from your browser.
Expand All @@ -36,7 +36,8 @@ Read the [.editorconfig](./.editorconfig)

## Run deno lint

If you want to contribute to my project, you should check the lint with the following command.
If you want to contribute to my project, you should check the lint with the
following command.

```sh
deno lint --unstable
Expand Down
Loading

1 comment on commit 495eba6

@vercel
Copy link

@vercel vercel bot commented on 495eba6 Sep 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.