Skip to content

Commit 248edfe

Browse files
committed
🐛 setup deno package
0 parents  commit 248edfe

File tree

155 files changed

+20255
-0
lines changed

Some content is hidden

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

155 files changed

+20255
-0
lines changed

.github/workflows/ci.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Copyright (C) 2025 Subhajit Sahu
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
3+
# See LICENSE for full terms
4+
name: CI
5+
on:
6+
push:
7+
branches:
8+
- main
9+
- master
10+
tags:
11+
- '!*' # Do not execute on tags
12+
env:
13+
NAME: ${{vars.NAME}}
14+
EMAIL: ${{vars.EMAIL}}
15+
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
16+
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
17+
FORCE_COLOR: 1
18+
19+
20+
jobs:
21+
test:
22+
strategy:
23+
matrix:
24+
platform: [ubuntu-latest, windows-latest, macOS-latest]
25+
name: Test on ${{matrix.platform}}
26+
runs-on: ${{matrix.platform}}
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: denoland/setup-deno@v2
30+
with:
31+
deno-version: v2.x
32+
- run: deno test --allow-read
33+
34+
35+
publish:
36+
name: Publish package
37+
needs: [test]
38+
runs-on: ubuntu-latest
39+
permissions:
40+
contents: write
41+
id-token: write
42+
steps:
43+
- uses: actions/checkout@v4
44+
- run: npx jsr publish

.github/workflows/pr.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (C) 2025 Subhajit Sahu
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
3+
# See LICENSE for full terms
4+
name: PR
5+
on: [pull_request]
6+
env:
7+
FORCE_COLOR: 1
8+
9+
10+
jobs:
11+
test:
12+
strategy:
13+
matrix:
14+
platform: [ubuntu-latest, windows-latest, macOS-latest]
15+
name: Test on ${{matrix.platform}}
16+
runs-on: ${{matrix.platform}}
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: denoland/setup-deno@v2
20+
with:
21+
deno-version: v2.x
22+
- run: deno test --allow-read

.gitignore

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Generated files
2+
.build/
3+
*.map
4+
example.js
5+
6+
# Logs
7+
logs
8+
*.log
9+
10+
11+
*.orig
12+
*.pyc
13+
*.swp
14+
.env
15+
16+
/.cargo_home/
17+
/.idea/
18+
/.vs/
19+
/.vscode/
20+
gclient_config.py_entries
21+
/target/
22+
/std/hash/_wasm/target
23+
/tests/wpt/runner/manifest.json
24+
/third_party/
25+
/tests/napi/node_modules
26+
/tests/napi/build
27+
/tests/napi/third_party_tests/node_modules
28+
29+
# MacOS generated files
30+
.DS_Store
31+
.DS_Store?
32+
33+
# Flamegraphs
34+
/flamebench*.svg
35+
/flamegraph*.svg
36+
37+
# WPT generated cert files
38+
/tests/wpt/runner/certs/index.txt*
39+
/tests/wpt/runner/certs/serial*
40+
41+
/ext/websocket/autobahn/reports
42+
43+
# JUnit files produced by deno test --junit
44+
junit.xml
45+
46+
# Jupyter files
47+
.ipynb_checkpoints/
48+
Untitled*.ipynb
49+
50+
# playwright browser binary cache
51+
/.ms-playwright

0 commit comments

Comments
 (0)