Skip to content

Commit

Permalink
[test] Remove no need code
Browse files Browse the repository at this point in the history
  • Loading branch information
homoluctus committed Nov 12, 2019
1 parent 23d6500 commit 3c26d68
Showing 1 changed file with 4 additions and 64 deletions.
68 changes: 4 additions & 64 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,8 @@ jobs:
steps:
- uses: actions/checkout@master

- uses: actions/setup-node@v1
with:
node-version: '10.x'

- name: Install dependencies
run: npm install

- name: NPM build
run: npm run build

- name: Install dependencies for production
run: |
rm -rf node_modules
npm install --production
- name: Slack Notification
uses: homoluctus/slatify@releases/v1
uses: homoluctus/slatify@${{ github.head_ref }}
if: always()
with:
type: ${{ job.status }}
Expand All @@ -44,23 +29,8 @@ jobs:
steps:
- uses: actions/checkout@master

- uses: actions/setup-node@v1
with:
node-version: '10.x'

- name: Install dependencies
run: npm install

- name: NPM build
run: npm run build

- name: Install dependencies for production
run: |
rm -rf node_modules
npm install --production
- name: Slack Notification
uses: homoluctus/slatify@releases/v1
uses: homoluctus/slatify@${{ github.head_ref }}
if: always()
with:
type: ${{ job.status }}
Expand All @@ -74,26 +44,11 @@ jobs:
steps:
- uses: actions/checkout@master

- uses: actions/setup-node@v1
with:
node-version: '10.x'

- name: Install dependencies
run: npm install

- name: NPM build
run: npm run build

- name: Install dependencies for production
run: |
rm -rf node_modules
npm install --production
- name: Exit 1
run: exit 1

- name: Slack Notification
uses: homoluctus/slatify@releases/v1
uses: homoluctus/slatify@${{ github.head_ref }}
if: always()
with:
type: ${{ job.status }}
Expand All @@ -111,26 +66,11 @@ jobs:
steps:
- uses: actions/checkout@master

- uses: actions/setup-node@v1
with:
node-version: '10.x'

- name: Install dependencies
run: npm install

- name: NPM build
run: npm run build

- name: Install dependencies for production
run: |
rm -rf node_modules
npm install --production
- name: Wait
run: sleep 60

- name: Slack Notification
uses: homoluctus/slatify@releases/v1
uses: homoluctus/slatify@${{ github.head_ref }}
if: always()
with:
type: ${{ job.status }}
Expand Down

0 comments on commit 3c26d68

Please sign in to comment.