Skip to content

Commit

Permalink
feat: is now deno
Browse files Browse the repository at this point in the history
  • Loading branch information
maraisr committed May 27, 2024
1 parent b52293f commit 7360146
Show file tree
Hide file tree
Showing 39 changed files with 1,185 additions and 1,922 deletions.
41 changes: 19 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,29 @@ name: CI

on:
push:
branches: [main]
pull_request: {}
workflow_call:

jobs:
test:
name: Node.js v${{ matrix.node }}
deno:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18, 20]
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1

- name: (env) setup pnpm
uses: pnpm/action-setup@master
with:
version: 8.6.5
- run: deno fmt --check
- run: deno lint
- run: deno check **/*.ts

- name: (env) setup node v${{ matrix.node }}
uses: actions/setup-node@main
with:
node-version: ${{ matrix.node }}
cache: pnpm
check-latest: true
- name: Tests
run: |-
deno test --coverage=cov/
deno coverage cov/
- run: pnpm install --ignore-scripts
- run: pnpm run build
- run: pnpm run test
- run: pnpm run typecheck
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1

- run: mkdir -p npm
- run: deno task build
22 changes: 4 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
node_modules
.DS_Store
*-lock.json
*.lock
*.log

/coverage
/.nyc_output

# Editors
*.iml
/.idea
/.vscode

# Code
/node.*
/browser.*
/json.*
/utils.*
node_modules
/npm
*.lcov
/cov
35 changes: 35 additions & 0 deletions assets/logo_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions assets/logo_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
112 changes: 0 additions & 112 deletions bench/index.ts

This file was deleted.

11 changes: 0 additions & 11 deletions bench/package.json

This file was deleted.

Loading

0 comments on commit 7360146

Please sign in to comment.