Skip to content

Commit

Permalink
changed runner to macos-latest for both .yml file and changed trigger…
Browse files Browse the repository at this point in the history
… .yml to run node 18 instead of 16
  • Loading branch information
jonolane committed Nov 18, 2023
1 parent f6fb359 commit 0b35c88
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/sanityUpdateDisplay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest

steps:
- name: Checkout repository
Expand All @@ -24,9 +24,13 @@ jobs:
run: npm install

# github actions cannot run gatsby commands without global install
# - name: Install Gatsby
# run: npm install -g gatsby-cli
#- name: Install Gatsby
# run: npm install -g gatsby-cli

# attempt to echo processes
- name: List Gatsby processes
run: ps aux | grep gatsby

# kill every development server instance / worker, if running
- name: Stop Gatsby development server
run: pkill -f 'gatsby'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/triggerUpdateSanityDisplay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:

jobs:
trigger:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- name: Use Node.js 16
- name: Use Node.js 18
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '18.18.0'
- name: Print webhook token
run: echo ${{ secrets.PAT_TOKEN }}
- name: Trigger workflow
Expand Down

0 comments on commit 0b35c88

Please sign in to comment.