Skip to content

chore(config): update configuration file #5

chore(config): update configuration file

chore(config): update configuration file #5

Workflow file for this run

on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
name: Build app
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: >
pnpm config set auto-install-peers true
&& pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: build
deploy:
name: Deploy app
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}