Skip to content

Commit

Permalink
fix: Release process
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
  • Loading branch information
tumido committed Jun 3, 2022
1 parent 3b1e65d commit 172483f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions packages/probot-kubernetes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions packages/probot-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 172483f

Please sign in to comment.