File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+ on :
3
+ push :
4
+ branches : [main]
5
+ pull_request :
6
+ branches : [main]
7
+
8
+ jobs :
9
+ ci :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Setup Deno
16
+ uses : denoland/setup-deno@v1
17
+ with :
18
+ deno-version : v1.x
19
+
20
+ - name : Lint
21
+ run : deno lint
22
+
23
+ - name : Test
24
+ run : deno test
25
+
26
+ - name : Format
27
+ run : deno fmt --check
28
+
29
+ - name : Build npm
30
+ run : deno task build:npm
Original file line number Diff line number Diff line change 3
3
"tasks" : {
4
4
"sync:readme" : " deno run --allow-read --allow-write --allow-env ./scripts/sync_readme.ts" ,
5
5
"bench" : " deno bench --allow-sys --allow-read" ,
6
- "build:npm" : " deno run --allow-run --allow-read --allow-write --allow-env ./scripts/build_npm.ts"
6
+ "build:npm" : " deno run --allow-run --allow-read --allow-write --allow-env --allow-net ./scripts/build_npm.ts"
7
7
},
8
8
"exclude" : [" npm" ]
9
9
}
You can’t perform that action at this time.
0 commit comments