From 40d70e1db25b2653ac099479f0eb35784d61af91 Mon Sep 17 00:00:00 2001 From: web <42110669+andy0937@users.noreply.github.com> Date: Fri, 15 May 2020 09:34:32 +0800 Subject: [PATCH 1/6] Set theme jekyll-theme-slate --- _config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 _config.yml diff --git a/_config.yml b/_config.yml new file mode 100644 index 00000000..c7418817 --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-slate \ No newline at end of file From 9291078d95f0f117e515b3f3a46bab417021e218 Mon Sep 17 00:00:00 2001 From: web <42110669+andy0937@users.noreply.github.com> Date: Fri, 15 May 2020 09:37:54 +0800 Subject: [PATCH 2/6] Create CNAME --- CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 00000000..5e076154 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +iqostw.net \ No newline at end of file From e4b51fbc6a593e8142895fd2797fffc0d660cf17 Mon Sep 17 00:00:00 2001 From: web <42110669+andy0937@users.noreply.github.com> Date: Fri, 15 May 2020 09:39:18 +0800 Subject: [PATCH 3/6] Set theme jekyll-theme-time-machine --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index c7418817..ddeb671b 100644 --- a/_config.yml +++ b/_config.yml @@ -1 +1 @@ -theme: jekyll-theme-slate \ No newline at end of file +theme: jekyll-theme-time-machine \ No newline at end of file From 94928139e14d74b88db96ff980f614b04bb26929 Mon Sep 17 00:00:00 2001 From: web <42110669+andy0937@users.noreply.github.com> Date: Sat, 16 May 2020 21:23:32 +0800 Subject: [PATCH 4/6] Create npmpublish.yml --- .github/workflows/npmpublish.yml | 47 ++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/npmpublish.yml diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml new file mode 100644 index 00000000..861e3723 --- /dev/null +++ b/.github/workflows/npmpublish.yml @@ -0,0 +1,47 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - run: npm ci + - run: npm test + + publish-npm: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.npm_token}} + + publish-gpr: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} From 68dce6edce24f8f15988f878beeccf3c68db5a14 Mon Sep 17 00:00:00 2001 From: web <42110669+andy0937@users.noreply.github.com> Date: Sat, 16 May 2020 21:23:46 +0800 Subject: [PATCH 5/6] Create nodejs.yml --- .github/workflows/nodejs.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/nodejs.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 00000000..e772a1cd --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,29 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run build --if-present + - run: npm test From 85b207838086b941dc445771c263ebcf30d5c34b Mon Sep 17 00:00:00 2001 From: web <42110669+andy0937@users.noreply.github.com> Date: Wed, 20 May 2020 18:17:19 +0800 Subject: [PATCH 6/6] Create main.yml --- .github/workflows/main.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..d6783e21 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,33 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project.