From 172483f4fb81b780fb5e11f8bbdcbf526e5e7eed Mon Sep 17 00:00:00 2001 From: Tomas Coufal Date: Fri, 3 Jun 2022 15:13:35 +0200 Subject: [PATCH] fix: Release process Signed-off-by: Tomas Coufal --- .github/workflows/release.yaml | 23 ++--------------------- packages/probot-kubernetes/package.json | 1 + packages/probot-metrics/package.json | 1 + 3 files changed, 4 insertions(+), 21 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6f54cd84..b62f6f39 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -91,27 +91,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Read Node.JS version - id: node_version - uses: juliangruber/read-file-action@v1 - with: - path: ./.nvmrc - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: "${{ steps.node_version.outputs.content }}" - - - name: Cache Node.js modules - uses: actions/cache@v3 - with: - path: ~/.npm - key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.OS }}-node- - - - name: Install dependencies - run: npm ci + - name: Build all packages + uses: ./.github/actions/build - name: Release via semantic-release run: npm run release diff --git a/packages/probot-kubernetes/package.json b/packages/probot-kubernetes/package.json index 39838c4e..4374fb1a 100644 --- a/packages/probot-kubernetes/package.json +++ b/packages/probot-kubernetes/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "Probot extension to interact with Kubernetes", "main": "lib/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "jest" diff --git a/packages/probot-metrics/package.json b/packages/probot-metrics/package.json index d807877d..f2c50776 100644 --- a/packages/probot-metrics/package.json +++ b/packages/probot-metrics/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "Probot extension to expose Prometheus metrics", "main": "lib/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "jest"