From a180b7ebf4e5bbab88d0b3fa7aff1038851ecc64 Mon Sep 17 00:00:00 2001 From: Leszek Date: Wed, 15 Nov 2023 17:37:58 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D=20Update=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/FUNDING.yml | 13 +++++++++++++ .github/assets/github.svg | 1 + .github/assets/twitter.svg | 1 + .github/dependabot.yml | 19 +++++++++++++++++++ .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 66 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/assets/github.svg create mode 100644 .github/assets/twitter.svg create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/main.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..e62be6a --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +custom: ['https://buycoffee.to/leszekkrol'] diff --git a/.github/assets/github.svg b/.github/assets/github.svg new file mode 100644 index 0000000..1a5c241 --- /dev/null +++ b/.github/assets/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.github/assets/twitter.svg b/.github/assets/twitter.svg new file mode 100644 index 0000000..9c238b7 --- /dev/null +++ b/.github/assets/twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..efc7bbd --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,19 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + + # Maintain dependencies for npm + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "monthly" \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..db64245 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +# .github/actions/master.yml +name: 🚀 Deploy website on push + +# Controls when the workflow will run +on: + push: + branches: + - main + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + web-deploy: + name: 🎉 Deploy + runs-on: ubuntu-latest + + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v4 + + - name: 🛠 Use Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: 🔨 Build Project + run: | + npm ci + npm run build + npm run generate \ No newline at end of file From 06dae4c463ea91d25f288c7891049457fff4ef38 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:38:20 +0000 Subject: [PATCH 2/2] Bump actions/setup-node from 3 to 4 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index db64245..a70d5de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v4 - name: 🛠 Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18