File tree Expand file tree Collapse file tree 3 files changed +54
-1
lines changed Expand file tree Collapse file tree 3 files changed +54
-1
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - uses : denoland/setup-deno@v1
11+ with :
12+ deno-version : " 1.18.2"
13+ - name : Check fmt
14+ run : deno fmt --check
15+ - name : Run lint
16+ run : deno lint
17+ - name : Run type check
18+ run : deno cache ./**/*.ts
19+ - name : Run test
20+ run : deno test
21+
Original file line number Diff line number Diff line change 1+ # from https://zenn.dev/kawarimidoll/articles/c68204d248c107#設定ファイル
2+ name : update-deno-dependencies
3+
4+ on :
5+ schedule :
6+ - cron : " 0 0 * * *"
7+
8+ jobs :
9+ udd :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : denoland/setup-deno@v1
14+ with :
15+ deno-version : 1.18.2
16+ - name : Update dependencies
17+ run : >
18+ deno run --allow-net --allow-read=deps/ --allow-write=deps/
19+ --allow-run=deno https://deno.land/x/[email protected] /main.ts *.ts 20+ --test="deno test"
21+ - name : Create Pull Request
22+ uses : peter-evans/create-pull-request@v3
23+ with :
24+ commit-message : " :arrow_up: update deno dependencies"
25+ title : Update Deno Dependencies
26+ body : >
27+ Automated updates by [deno-udd](https://github.com/hayd/deno-udd)
28+ and [create-pull-request](https://github.com/peter-evans/create-pull-request)
29+ GitHub action
30+ branch : update-deno-dependencies
31+ author :
GitHub <[email protected] > 32+ delete-branch : true
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ export type {
77 NotMemberError ,
88 NotPrivilegeError ,
99 Page ,
10- } from "https://pax.deno.dev /scrapbox-jp/types@ 0.0.8" ;
10+ } from "https://raw.githubusercontent.com /scrapbox-jp/types/ 0.0.8/mod.ts " ;
You can’t perform that action at this time.
0 commit comments