Skip to content

Updates frontend and deps #23

Updates frontend and deps

Updates frontend and deps #23

Workflow file for this run

name: Frontend
on:
pull_request:
branches: [master]
paths: [frontend/**]
push:
branches: [master]
paths: [frontend/**]
concurrency:
group: "pages"
cancel-in-progress: true
permissions:
contents: read
pages: write
id-token: write
env:
CI: false
jobs:
frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install yarn
run: sudo npm i yarn -g
- name: Build
run: |
yarn --cwd frontend
yarn --cwd frontend build
- name: Setup GitHub Pages
uses: actions/configure-pages@v3
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: frontend/dist
- name: Deploy
uses: actions/deploy-pages@v2