Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove unused files, and add husky and commitlint #4383

Merged
merged 2 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test: add github action
  • Loading branch information
hustcc committed Mar 23, 2023
commit a98d0eeedf77fab22a8a996b8a73784ab14a76ca
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build

on: [push]

jobs:
build:
runs-on: macOS-latest

steps:
- name: Checkout
uses: actions/checkout@v2.3.4

- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
node-version: '14'

- name: Run CI
run: |
npm install
npm run test
89 changes: 19 additions & 70 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,85 +4,34 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
yarn.lock
es

# lock
package-lock.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Sys
.DS_Store
.idea

# Dependency directories
# Node
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

build
# Build
dist
temp
.DS_Store
.idea
demos
lib
esm

*.sw*
*.un~

# cache
*.cache
public
# Test
coverage

esm
# Bundle visualizer
stats.html

es
# Snapshots error images
__tests__/integration/snapshots/**/*-actual.*
__tests__/integration/snapshots/**/*-diff.*

.github
# .storybook
.vscode/
# Website cache byb dumi
site/.dumi/tmp
site/.dumi/tmp-production

stats.json
# Editor
.vscode