From 1d489ac4fe0592c29a7acb162dd1d6c606342256 Mon Sep 17 00:00:00 2001 From: paansktotk <85848369+paansktotk@users.noreply.github.com> Date: Mon, 14 Jun 2021 12:08:40 +0800 Subject: [PATCH 01/13] Create npm-publish.yml --- .github/workflows/npm-publish.yml | 50 +++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 000000000000..410654cba726 --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,50 @@ +# 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@v2 + 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@v2 + 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 + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + 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 b157e959bca9acc65d4e4d1c2fdf2f0012d7fef5 Mon Sep 17 00:00:00 2001 From: paansktotk <85848369+paansktotk@users.noreply.github.com> Date: Wed, 16 Jun 2021 08:08:42 +0800 Subject: [PATCH 02/13] Set theme jekyll-theme-dinky --- docs/_config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/_config.yml diff --git a/docs/_config.yml b/docs/_config.yml new file mode 100644 index 000000000000..9da9a0291e15 --- /dev/null +++ b/docs/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-dinky \ No newline at end of file From 9f00dd12cb9aa8a39179bde39c54d582e2b356d5 Mon Sep 17 00:00:00 2001 From: paansktotk <85848369+paansktotk@users.noreply.github.com> Date: Wed, 16 Jun 2021 08:12:22 +0800 Subject: [PATCH 03/13] Update and rename _config.yml to theme --- docs/_config.yml | 1 - docs/theme | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) delete mode 100644 docs/_config.yml create mode 100644 docs/theme diff --git a/docs/_config.yml b/docs/_config.yml deleted file mode 100644 index 9da9a0291e15..000000000000 --- a/docs/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-dinky \ No newline at end of file diff --git a/docs/theme b/docs/theme new file mode 100644 index 000000000000..24ab548e8fa7 --- /dev/null +++ b/docs/theme @@ -0,0 +1,18 @@ +!DOCTYPE html> + +W3.CSS Template + + + + +