Skip to content

Commit

Permalink
Merge branch 'v9'
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Feb 27, 2023
2 parents 3a5a70a + fa0cd77 commit 75c6416
Show file tree
Hide file tree
Showing 93 changed files with 8,017 additions and 4,424 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
node-version: [16.x, 18.x, 19.x]
platform:
- os: ubuntu-latest
shell: bash
Expand All @@ -25,10 +25,10 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v1.1.0
uses: actions/checkout@v3

- name: Use Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/typedoc.yml
@@ -0,0 +1,50 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: npm install
- name: Generate typedocs
run: npm run typedoc

- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
16 changes: 10 additions & 6 deletions .gitignore
@@ -1,8 +1,12 @@
.*.swp
/old
/*.tap
node_modules/*
v8.log
profile.txt
nyc_output/
.nyc_output/
coverage/
/dist
/node_modules
/v8.log
/profile.txt
/nyc_output
/.nyc_output
/coverage
/test/fixtures
/bench-working-dir
9 changes: 9 additions & 0 deletions .prettierignore
@@ -0,0 +1,9 @@
/node_modules
/example
/.github
/dist
.env
/tap-snapshots
/.nyc_output
/coverage
/benchmark
6 changes: 1 addition & 5 deletions CONTRIBUTING.md
@@ -1,12 +1,8 @@
Please consider signing [the neveragain.tech pledge](http://neveragain.tech/)

## Contributing

Any change to behavior (including bugfixes) must come with a test.

Patches that fail tests or reduce performance will be rejected.

```
```sh
# to run tests
npm test

Expand Down

0 comments on commit 75c6416

Please sign in to comment.