Skip to content

Commit

Permalink
ci: disable test job, fix publint+eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
neoncitylights committed Dec 16, 2023
1 parent 30488b7 commit 6603914
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,26 @@ jobs:
- name: Lint
run: npm run lint

test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test
- name: Upload code coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
# test:
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version: latest
# cache: 'npm'
# - name: Install dependencies
# run: npm ci
# - name: Test
# run: npm run test
# - name: Upload code coverage
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# verbose: true

is-publishable:
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
"scripts": {
"lint": "npm run lint:es && npm run lint:md",
"lint:fix": "npm run lint:es-fix && npm run lint:md-fix",
"lint:es": "eslint --ext .js,.jsx,.ts,.tsx packages/react",
"lint:es": "eslint --ext .js,.jsx,.ts,.tsx packages/",
"lint:es-fix": "npm run lint:es -- --fix",
"lint:es-env": "eslint --env-info",
"lint:md": "markdownlint-cli2 '**/*.md' \"#node_modules\"",
"lint:md-fix": "npm run lint:md -- --fix",
"lint:md-env": "markdownlint-cli2 --version",
"prelint:pub": "cd packages/react && npm run build",
"lint:pub": "publint packages/react",
"lint:pub": "publint packages/types",
"lint:pub-env": "publint --version"
},
"devDependencies": {
Expand Down

0 comments on commit 6603914

Please sign in to comment.