Skip to content

Commit

Permalink
Merge branch 'master' into Joined_this_year_trophy
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavberi authored Oct 1, 2023
2 parents 17bacff + b4aa73d commit 6ca0b32
Show file tree
Hide file tree
Showing 33 changed files with 880 additions and 290 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Check PR Test

on:
pull_request:
branches:
- master
jobs:
install-dependencies:
runs-on: ubuntu-latest

strategy:
matrix:
deno-version: [1.36.1]

steps:
- name: Git Checkout Deno Module
uses: actions/checkout@v2
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denolib/setup-deno@v2
with:
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.vscode
.env
.idea
.lock
*.sh
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 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 6ca0b32

Please sign in to comment.