Skip to content

Commit

Permalink
feat: Initial Release
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed May 4, 2021
1 parent 29cf250 commit 7938061
Show file tree
Hide file tree
Showing 5 changed files with 257 additions and 29 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release
on:
workflow_dispatch:
inputs: {}
repository_dispatch:
types: [semantic-release]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14

- name: Install dependencies
run: npm ci

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
5 changes: 0 additions & 5 deletions Makefile

This file was deleted.

6 changes: 3 additions & 3 deletions main.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { LensMainExtension } from "@k8slens/extensions";

export default class ExampleExtensionMain extends LensMainExtension {
export default class CertificateInfoMainExtension extends LensMainExtension {
onActivate() {
console.log('helloworld-sample activated');

}

onDeactivate() {
console.log('helloworld-sample de-activated');

}
}
Loading

0 comments on commit 7938061

Please sign in to comment.