Skip to content

Commit

Permalink
feat: add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-maulana-tkp committed Jul 27, 2020
1 parent c4ccf65 commit b0e254b
Show file tree
Hide file tree
Showing 9 changed files with 397 additions and 439 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/generateJson.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Generate JSON
'on':
push:
branches:
- master
jobs:
generate_json:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Use node 12
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Get yarn cache
id: yarn-cache
run: 'echo "::set-output name=dir::$(yarn cache dir)"'
- name: Cache Node.js modules
uses: actions/cache@v1
with:
path: '${{ steps.yarn-cache.outputs.dir }}'
key: '${{ runner.OS }}-yarn-${{ hashFiles(''**/yarn.lock'') }}'
restore-keys: |
${{ runner.OS }}-yarn-
- name: Install dependencies
run: yarn
- name: Generate file json
run: yarn toJson
- name: Commit files report
run: |
git config --local user.email "[email protected]"
git config --local user.name "Github Actions"
git add -A
git commit -m "✅ [Github Actions]: Generate json file"
- name: GitHub Push
uses: ad-m/[email protected]
with:
github_token: '${{ secrets.GITHUB_TOKEN }}'
force: true
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ In the last few years, I have some presentations stage, mostly in tecnical area.
- Event Link: [here](https://www.instagram.com/p/BgSk34Hgw2V/)
- Slide: [here](https://speakerdeck.com/mazipan/modern-web-an-introduction)

#### Facebook DevC Jakarta - KICK START 2018 - Big Startup Secrets
#### Facebook DevC Jakarta - KICK START 2018 - Big Startup Secrets

- Topic: Unit Testing for Frontend Code at Blibli.com
- Date: Jan 27, 2018
Expand Down Expand Up @@ -207,10 +207,6 @@ In the last few years, I have some presentations stage, mostly in tecnical area.
- Event Link: [here](https://www.codepolitan.com/tambah-pengetahuan-tren-teknologimu-terbaru-bersama-php-indonesia)
- Slide: [here](https://www.slideshare.net/IrfanMaulana21/php-indonesia-nodejs-web-development)

-----

If you would like me to speak at your event, feel free to :phone: [contact me](#contact-me) and I will be happy to help.

## FAQ

+ **Q:** Hey, I need your photo for banner promotions. Where can I get it??
Expand Down
1 change: 1 addition & 0 deletions all-talks-node.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b0e254b

Please sign in to comment.