Skip to content

Commit 7cdd2c2

Browse files
committed
update workflows
1 parent e205f7d commit 7cdd2c2

File tree

5 files changed

+38
-47
lines changed

5 files changed

+38
-47
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Cron Dependency Checker Workflow
2+
3+
on:
4+
schedule:
5+
- cron: '0 4 * * 1'
6+
7+
jobs:
8+
cron-dependency-checker:
9+
name: 'Cron Dependency Checker'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repo
13+
uses: actions/checkout@v2
14+
with:
15+
token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
16+
17+
- name: Install Node
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 12
21+
22+
- name: NPM Install
23+
run: npm i
24+
- name: Npm Outdated
25+
run: npm run outdated
26+
- name: Build
27+
run: npm run buildProd
28+
29+
- name: Git Commit and Push
30+
run: |
31+
git config --global user.email "furknyavuz@gmail.com"
32+
git config --global user.name "Furkan Yavuz"
33+
git commit -am "Workflow/dependency check"
34+
git push

.github/workflows/issue-open-workflows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
automate-project-columns:
9-
name: 'Automate Project Columns'
9+
name: "Automate Project Columns"
1010
runs-on: ubuntu-latest
1111

1212
steps:
@@ -18,7 +18,7 @@ jobs:
1818
repo-token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
1919

2020
milestone-binder:
21-
name: 'Milestone Binder'
21+
name: "Milestone Binder"
2222
runs-on: ubuntu-latest
2323

2424
steps:

.github/workflows/on-push-to-dependency-update.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/pr-open-to-demos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
- name: Hard Reset Demo From Develop
2020
run: |
2121
git fetch origin develop:develop
22-
git reset --hard develop
22+
git reset --hard origin/develop
2323
git push -f

.github/workflows/pr-open-workflows.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: PR Open Workflows
33
on:
44
pull_request:
55
types: [ opened ]
6-
branches-ignore: 'workflow/dependency-update'
6+
branches-ignore: [ 'workflow/dependency-update' ]
77

88
jobs:
99
pr-labeler:
@@ -37,21 +37,3 @@ jobs:
3737
uses: Code-Hex/auto-milestone-binder@v1.0.1
3838
with:
3939
github-token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
40-
41-
continuous-integration:
42-
name: 'Npm Continuous Integration'
43-
runs-on: ubuntu-latest
44-
45-
steps:
46-
- name: Checkout Repo
47-
uses: actions/checkout@v2
48-
49-
- name: Install Node
50-
uses: actions/setup-node@v1
51-
with:
52-
node-version: 12
53-
54-
- name: NPM Install
55-
run: npm install
56-
- name: NPM Continous Integration
57-
run: npm ci

0 commit comments

Comments
 (0)