Skip to content

Commit

Permalink
Merge pull request #54 from wszgrcy/alpha
Browse files Browse the repository at this point in the history
Alpha
  • Loading branch information
wszgrcy authored Mar 25, 2024
2 parents 6d244f5 + 6d8848f commit 02c2bb9
Show file tree
Hide file tree
Showing 41 changed files with 5,906 additions and 17,021 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
npm run lint
- name: hook-code
run: |
npm run hook-code
npm run sync
- name: test
run: |
npm run test:ci
Expand All @@ -39,13 +39,13 @@ jobs:
npm run build
- id: publish
name: publish
uses: JS-DevTools/npm-publish@v1
uses: JS-DevTools/npm-publish@v3
if: ${{ github.repository_owner == 'wszgrcy' }}
with:
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
package: ./dist/package.json
tag: alpha
- if: ${{ github.repository_owner == 'wszgrcy' && steps.publish.outputs.type != 'none' }}
- if: ${{ github.repository_owner == 'wszgrcy' && steps.publish.outputs.type }}
run: |
echo "[${{ steps.publish.outputs.type }}]版本已变更: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
git tag v${{steps.publish.outputs.version}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
npm run lint
- name: hook-code
run: |
npm run hook-code
npm run sync
- name: test
run: |
npm run test:ci
Expand All @@ -44,7 +44,7 @@ jobs:
with:
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
package: ./dist/package.json
- if: ${{ github.repository_owner == 'wszgrcy' && steps.publish.outputs.type != 'none' }}
- if: ${{ github.repository_owner == 'wszgrcy' && steps.publish.outputs.type }}
run: |
echo "[${{ steps.publish.outputs.type }}]Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
git tag v${{steps.publish.outputs.version}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
npm ci --legacy-peer-deps
- name: hook-code
run: |
npm run hook-code
npm run sync
- name: build-docs
continue-on-error: true
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
npm run lint
- name: hook-code
run: |
npm run hook-code
npm run sync
- name: test
run: |
npm run test:ci
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
registry=https://registry.npm.taobao.org/
# registry =https://registry.npmmirror.com/
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.tslint": false
"source.fixAll.eslint": "explicit",
"source.fixAll.tslint": "never"
}
}
Loading

0 comments on commit 02c2bb9

Please sign in to comment.