Skip to content

feat: remove create-frourio-app #268

feat: remove create-frourio-app

feat: remove create-frourio-app #268

Workflow file for this run

name: documentation
on: [push, pull_request]
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
cache: yarn
- uses: actions/cache@v3
id: yarn-cache
with:
path: 'node_modules'
key: yarn-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile
if: steps.yarn-cache.outputs.cache-hit != 'true'
- name: Test Build
run: |
yarn lint
yarn typecheck
yarn build
gh-release:
if: github.ref_name == 'master'
runs-on: ubuntu-latest
needs: checks
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
cache: yarn
- uses: actions/cache@v3
id: yarn-cache
with:
path: 'node_modules'
key: yarn-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile
if: steps.yarn-cache.outputs.cache-hit != 'true'
- name: Build website
env:
TRACKING_ID: ${{ secrets.TRACKING_ID }}
run: yarn build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build