Skip to content

Commit b57a529

Browse files
authored
Merge pull request #42 from Octo8080X/feature/adapt-fresh-v2
adapt v2
2 parents efb433a + 79c8550 commit b57a529

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+6849
-1660
lines changed

.github/workflows/deno.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Deno Deploy & Test
55

66
on:
77
push:
8-
branches: ["main","test"]
8+
branches: ["main", "test"]
99
pull_request:
10-
branches: ["main","test"]
10+
branches: ["main", "test"]
1111

1212
permissions:
1313
id-token: write # This is required to allow the GitHub Action to authenticate with Deno Deploy.
@@ -28,16 +28,19 @@ jobs:
2828
- name: Setup Deno
2929
uses: denoland/setup-deno@v1
3030
with:
31-
deno-version: v1.35.2
32-
33-
- name: Verify formatting
31+
deno-version: v2.6.6
32+
33+
- name: Verify formatting
3434
run: deno fmt --check
35-
35+
3636
- name: Cache Deno dependencies
3737
uses: actions/cache@v3
3838
with:
3939
key: denoDeps-${{ hashFiles('deno.lock') }}
4040
path: ${{ env.DENO_DIR }}
4141

4242
- name: Run tests
43-
run: deno test -A --quiet
43+
run: deno task test
44+
45+
- name: Run tests doc
46+
run: deno task test:doc

.github/workflows/publish.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Publish
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
13+
steps:
14+
- uses: actions/checkout@v6
15+
- name: Publish package
16+
run: npx jsr publish

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tmp

.vscode/extensions.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"deno.enable": true,
3-
"deno.lint": true,
4-
"editor.defaultFormatter": "denoland.vscode-deno",
5-
"editor.formatOnSave": true
2+
"deno.enable": true
63
}

0 commit comments

Comments
 (0)