Skip to content

Commit b6c93c2

Browse files
committed
ci(release): correct release workflow
`release-types` step is useless because type package is already released by semantic-release
1 parent 5364ce3 commit b6c93c2

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

.github/workflows/push-and-pr.workflow.yaml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -95,36 +95,6 @@ jobs:
9595
SEMANTIC_RELEASE_SLACK_WEBHOOK: ${{ secrets.SEMANTIC_RELEASE_SLACK_WEBHOOK }}
9696
run: npx semantic-release
9797

98-
release-types:
99-
name: Release type package
100-
runs-on: ubuntu-22.04
101-
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/2-dev') }}
102-
needs: [release-device-manager]
103-
permissions:
104-
contents: write
105-
issues: write
106-
pull-requests: write
107-
steps:
108-
- name: Checkout
109-
uses: actions/checkout@v3
110-
111-
- name: Setup Node.js
112-
uses: actions/setup-node@v3
113-
with:
114-
node-version: "lts/*"
115-
registry-url: "https://registry.npmjs.org"
116-
117-
- name: Install dependencies
118-
run: npm ci
119-
120-
- name: Build type package
121-
run: npm -prefix ./types run build
122-
123-
- name: Publish package
124-
env:
125-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
126-
run: cd types && npm publish
127-
12898
documentation_deploy:
12999
needs: [release-device-manager]
130100
name: Documentation - Deploy

0 commit comments

Comments
 (0)