Update deps to align with date-fns v3 updates (#253) #170
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Deploy preview | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy-preview: | |
name: Build & Deploy preview | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the Repo | |
- uses: actions/checkout@v4 | |
# Install Node 20 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
# Install dependencies | |
- run: yarn install --frozen-lockfile | |
# Build preview | |
- run: yarn run build:preview | |
# Deploy to github pages | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: . |