Skip to content

Merge pull request #648 from stefanoCrmg/feat/showNews-method #502

Merge pull request #648 from stefanoCrmg/feat/showNews-method

Merge pull request #648 from stefanoCrmg/feat/showNews-method #502

Workflow file for this run

name: Deploy to Github Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [18.16]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.5
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build playground
run: pnpm build:playground
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apps/playground/dist