From 5da48adb2db6734ec571043ed27ce83f13df7b78 Mon Sep 17 00:00:00 2001 From: s-egge Date: Wed, 10 Jul 2024 14:35:15 -0700 Subject: [PATCH] Update GHA to newest versions and add dependabot --- .github/dependabot.yml | 6 ++++++ .github/workflows/gh-deploy.yml | 8 ++++---- .github/workflows/test-workflow.yml | 6 +++--- 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..120c689 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" \ No newline at end of file diff --git a/.github/workflows/gh-deploy.yml b/.github/workflows/gh-deploy.yml index 175acc0..8d790a1 100644 --- a/.github/workflows/gh-deploy.yml +++ b/.github/workflows/gh-deploy.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set-up Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: npm install run: | npm install @@ -24,7 +24,7 @@ jobs: run: | npm run build - name: deploy frontend to gh pages - uses: crazy-max/ghaction-github-pages@v3 # https://github.com/crazy-max/ghaction-github-pages + uses: crazy-max/ghaction-github-pages@v4 # https://github.com/crazy-max/ghaction-github-pages with: target_branch: gh-pages build_dir: dist diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index 8220411..754f1a9 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set-up Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: npm install run: | npm install