Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
Signed-off-by: Chaichontat Sriworarat <[email protected]>
  • Loading branch information
chaichontat committed Jan 14, 2024
2 parents e726667 + b5366f9 commit e441edf
Show file tree
Hide file tree
Showing 1,804 changed files with 436,665 additions and 123,477 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"env": {
"es6": true,
"es2020": true,
"node": true,
"browser": true
},
Expand All @@ -13,6 +13,7 @@
"no-sparse-arrays": 0,
"no-unexpected-multiline": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-this-alias": 0,
"@typescript-eslint/no-unused-vars": ["error", {"ignoreRestSiblings": true}]
}
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy

on:
workflow_dispatch: {}
push:
branches: [main]

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
- run: yarn --frozen-lockfile
- run: yarn prepublishOnly
- run: yarn docs:build
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v1
with:
path: docs/.vitepress/dist
- name: Deploy
id: deployment
uses: actions/deploy-pages@v1
29 changes: 0 additions & 29 deletions .github/workflows/node.js.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/prettier.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
- run: yarn --frozen-lockfile
- run: yarn test:mocha
- run: yarn test:tsc
- run: |
echo ::add-matcher::.github/eslint.json
yarn run eslint src test --format=compact
- run: yarn test:prettier
- run: yarn prepublishOnly
- run: yarn docs:build
- uses: actions/upload-artifact@v3
if: failure()
with:
name: test-output-changes
path: test/output/*-changed.*
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.DS_Store
build/
coverage/
dist/
types/
docs/.vitepress/cache
docs/.vitepress/dist
node_modules/
test/output/*-changed.svg
test/output/*-changed.html
tsconfig.tsbuildinfo
yarn-error.log
5 changes: 0 additions & 5 deletions .mocharc.json

This file was deleted.

419 changes: 419 additions & 0 deletions CHANGELOG-2021.md

Large diffs are not rendered by default.

Loading

0 comments on commit e441edf

Please sign in to comment.