Skip to content

Commit

Permalink
fix: change actions
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko committed Aug 29, 2024
1 parent 923e1c2 commit 6f5a3e1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 72 deletions.
14 changes: 0 additions & 14 deletions .github/dependabot.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ jobs:
run: npm ci
- name: Lint Files
run: npm run lint
- name: Tests
run: npm run test
- name: Typecheck
run: npm run typecheck
23 changes: 3 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,8 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: yandex-cloud/ui-release-action@main
with:
github-token: ${{ secrets.YC_UI_BOT_GITHUB_TOKEN }}
npm-token: ${{ secrets.ROBOT_DATAUI_NPM_TOKEN }}
node-version: 18
registry-url: 'https://registry.npmjs.org'
- run: npm ci
shell: bash
- uses: codex-team/action-nodejs-package-info@v1
id: package
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
token: ${{secrets.YC_UI_BOT_GITHUB_TOKEN}}
release-type: node
package-name: ${{steps.package.outputs.name}}
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"perf","section":"Performance Improvements","hidden":false}]'
bump-minor-pre-major: true
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.ROBOT_DATAUI_NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
shell: bash
37 changes: 0 additions & 37 deletions .github/workflows/tests.yml

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"lint": "lint update && lint",
"lint:fix": "lint update && lint fix",
"pre-commit": "lint update && lint-staged",
"prepare": "husky"
"prepare": "husky",
"typecheck": "tsc --noEmit"
},
"license": "MIT",
"devDependencies": {
Expand Down

0 comments on commit 6f5a3e1

Please sign in to comment.