Skip to content

Commit

Permalink
fix: ci and remove issuehunt (antvis#5277)
Browse files Browse the repository at this point in the history
* fix: remove issue hunt

* chore: remote pnpm-lock file, and fix lint

* chore: update action

* chore: fix ci

* chore: remove coverall
  • Loading branch information
hustcc authored and liujiangyu committed Mar 23, 2024
1 parent d83c3fb commit 69c7738
Show file tree
Hide file tree
Showing 27 changed files with 446 additions and 47,683 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = {
'consistent-return': 0,
'lines-between-class-members': 0,
'class-methods-use-this': 0,
'lines-between-class-members': 0,
'no-multi-assign': 0,
'no-continue': 0,
'no-underscore-dangle': 0,
Expand Down
5 changes: 0 additions & 5 deletions .github/FUNDING.yml

This file was deleted.

File renamed without changes.
117 changes: 0 additions & 117 deletions .github/ISSUE_TEMPLATE/issue_hunt.yml

This file was deleted.

101 changes: 0 additions & 101 deletions .github/ISSUE_TEMPLATE/issue_hunt_chinese.yml

This file was deleted.

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

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: macOS-latest

steps:
- name: Checkout
uses: actions/[email protected]

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- uses: actions/cache@v3
name: Setup pnpm cache
id: cache
with:
path: |
node_modules/
packages/g6/node_modules/
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pnpm install --no-frozen-lockfile

- name: Run CI
run: |
# pnpm run lint
# pnpm run test
pnpm run build
# - name: coverall
# if: success()
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
45 changes: 0 additions & 45 deletions .github/workflows/issue_hunt_replay.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ es

# lock
package-lock.json
pnpm-lock.yaml

# Runtime data
pids
Expand Down
19 changes: 0 additions & 19 deletions .gitlab-ci.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 69c7738

Please sign in to comment.