Skip to content

Commit

Permalink
#10 - Remove dev dependencies from repository node_modules directory (#…
Browse files Browse the repository at this point in the history
…11)

* #10 - Remove devDependencies with git hook

* Husky commit - remove devDependencies from node_modules

* #10 - Updated hook scripts (leave env as it was)

* Husky commit - remove devDependencies from node_modules

* #10 - Add format check to CI workflow

* Husky commit - remove devDependencies from node_modules
  • Loading branch information
manusa authored Nov 3, 2019
1 parent e2d119d commit 022f957
Show file tree
Hide file tree
Showing 6,225 changed files with 619 additions and 786,178 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 19 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Perform checks

on: [push]

jobs:
main:
name: Runner
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node
uses: actions/setup-node@master
- name: NPM install
run: npm install
- name: Check Format
run: npm run format-check
- name: Unit tests
run: npm test
6 changes: 2 additions & 4 deletions .github/workflows/main.yml → .github/workflows/runner.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: Main workflow
name: Run action and validate environment

on: [push]

jobs:
main:
name: Main
name: Runner
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node
uses: actions/setup-node@master
- name: npm test
run: npm test
- name: Run Action
run: export INPUT_OC_VERSION="v3.11.0" && node src/index.js
- name: Validate environment
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Explicitly not ignoring node_modules so that they are included in package downloaded by runner
!/node_modules
/.idea
10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": false,
"arrowParens": "avoid"
}
26 changes: 17 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,23 @@ is supported._
### Basic

```yaml
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup OpenShift
uses: manusa/actions-publish-openshift@v1.0.0
with:
oc version: 'v3.11.0'
- name: Interact with the cluster
run: oc cluster status
name: Example workflow

on: [push]

jobs:
example:
name: Example OpenShift Cluster interaction
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup OpenShift
uses: manusa/actions-publish-openshift@v1.0.0
with:
oc version: 'v3.11.0'
- name: Interact with the cluster
run: oc cluster status
```
### Required input parameters
Expand Down
15 changes: 0 additions & 15 deletions node_modules/.bin/acorn

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/acorn.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/atob

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/atob.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/escodegen

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/escodegen.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/esgenerate

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/esgenerate.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/esparse

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/esparse.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/esvalidate

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/esvalidate.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/handlebars

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/handlebars.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/import-local-fixture

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/import-local-fixture.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/is-ci

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/is-ci.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/jest

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/jest-runtime

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/jest-runtime.cmd

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/jest.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/jsesc

This file was deleted.

7 changes: 0 additions & 7 deletions node_modules/.bin/jsesc.cmd

This file was deleted.

Loading

0 comments on commit 022f957

Please sign in to comment.