Skip to content

Commit

Permalink
fix: type check error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcastrodev committed Sep 29, 2023
1 parent 786bc20 commit ed1e514
Show file tree
Hide file tree
Showing 27 changed files with 381 additions and 245 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ on:
jobs:
install-dependencies:
runs-on: ubuntu-latest

strategy:
matrix:
deno-version: [1.37.0]

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: Lint Deno Module
run: deno fmt --check
- 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
deno.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
* [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

0 comments on commit ed1e514

Please sign in to comment.