mirror of
https://github.com/ditkrg/k8s-set-context.git
synced 2026-01-23 06:16:48 +00:00
Review fix
This commit is contained in:
parent
8f37dc6d2f
commit
7ea504ba37
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -18,6 +18,7 @@ jobs:
|
|||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: 'Validate build'
|
- name: 'Validate build'
|
||||||
|
if: ${{ ${GITHUB_REF##*/} == 'master' }}
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm build
|
npm build
|
||||||
@ -65,4 +66,5 @@ jobs:
|
|||||||
$headers = @{
|
$headers = @{
|
||||||
"Authorization" = "token ${env:GITHUB_TOKEN}"
|
"Authorization" = "token ${env:GITHUB_TOKEN}"
|
||||||
}
|
}
|
||||||
Invoke-RestMethod -Method POST -Uri $url -Headers $headers -Body "{ `"body`": `"${comment}`" }"
|
$body = "{ `"body`": `"${comment}`" }"
|
||||||
|
Invoke-RestMethod -Method POST -Uri $url -Headers $headers -Body $body
|
||||||
@ -1,4 +1,4 @@
|
|||||||
import {run} from '../src/login'
|
import { run } from '../src/login'
|
||||||
|
|
||||||
describe('This is a placeholder for intial test cases, to be removed', () => {
|
describe('This is a placeholder for intial test cases, to be removed', () => {
|
||||||
test('Dummy test case', async () => {
|
test('Dummy test case', async () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user