From 5dcdf2fc0aa22b3b3be5fdaa800aeb86b8430619 Mon Sep 17 00:00:00 2001 From: Tim Bernhard Date: Sun, 29 Oct 2023 13:58:58 +0100 Subject: [PATCH] Upgrade GH Action's dependencies --- .github/workflows/publish-gh-pages.yaml | 10 +++++----- package.json | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-gh-pages.yaml b/.github/workflows/publish-gh-pages.yaml index 8190faa..3058cd3 100644 --- a/.github/workflows/publish-gh-pages.yaml +++ b/.github/workflows/publish-gh-pages.yaml @@ -15,19 +15,19 @@ jobs: name: Publish Example Website to GitHub Pages steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 15 + node-version: 20 - name: Get yarn cache directory path id: yarn-cache-dir run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache yarn dependencies - uses: actions/cache@v1 + uses: actions/cache@v3 id: yarn-cache with: path: ${{ steps.yarn-cache-dir.outputs.dir }} @@ -50,7 +50,7 @@ jobs: run: yarn run build - name: Upload Build - uses: JamesIves/github-pages-deploy-action@4.0.0 + uses: JamesIves/github-pages-deploy-action@v4.4.3 with: branch: gh-pages # The branch the action should deploy to. folder: ./example-app/public/ # The folder the action should deploy. diff --git a/package.json b/package.json index c2bba92..0b6dd28 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "email": "tim@bernhard-webstudio.ch", "url": "https://bernhard-webstudio.ch" }, + "type": "module", "license": "MIT", "private": false, "devDependencies": {