Skip to content

chore: bump dependencies #53

chore: bump dependencies

chore: bump dependencies #53

Workflow file for this run

name: Build & Deploy
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install deps
uses: borales/actions-yarn@v5
with:
cmd: install
- name: Build prod
uses: borales/actions-yarn@v5
with:
cmd: build --prod
env:
PUBLIC_URL: "/beercalc/"
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4