Skip to content

fix: allow yarn.lock to be updated #12

fix: allow yarn.lock to be updated

fix: allow yarn.lock to be updated #12

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main # Set this to your default branch
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
env:
EXPORT: true
UNOPTIMIZED: true
TRAILING_SLASH: true
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: out # The folder the action should deploy
branch: gh-pages # The branch the action should deploy to
clean: true # Automatically remove deleted files from the deploy branch