Skip to content

Commit

Permalink
Fix Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
daniluk4000 committed Sep 25, 2023
1 parent ec10ff8 commit e1f12e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codecheck.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Code check V2

on:
push:
branches: [ v2 ]
pull_request:
branches: [ v2 ]

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: NPM Publish

on:
push:
workflow_run:
workflows: [ "Code check V2" ]
branches: [ v2 ]
types:
- completed

jobs:
publish:
Expand All @@ -12,7 +15,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: ./.github/actions/codecheck
- run: yarn
- run: yarn workspace vue-yandex-maps build:package-only
- run: yarn workspace vue-yandex-maps build
- run: cd ./packages/vue-yandex-maps
- uses: JS-DevTools/npm-publish@v1
with:
Expand Down

0 comments on commit e1f12e1

Please sign in to comment.