From d38e96320b0ab0a28a8cafd9404764c842b27f61 Mon Sep 17 00:00:00 2001 From: John Goodliff Date: Mon, 11 Mar 2024 19:53:59 -0600 Subject: [PATCH] Update actions in deployment workflow --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 11d85c6..d639c7a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,10 @@ name: Gatsby Build & Deploy on: + pull_request: + workflow_dispatch: push: branches: - main - pull_request: - workflow_dispatch: jobs: deploy: @@ -13,12 +13,12 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' cache: 'yarn' - name: Install dependencies