Skip to content

chore: update react components #32

chore: update react components

chore: update react components #32

Workflow file for this run

name: Default Pipeline
on:
pull_request:
push:
branches:
- "main"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]
- name: ⬇ Checkout repo
uses: actions/checkout@v3
- name: 📥 Download deps default-npm-cache
if: steps.npm-cache.outputs.cache-hit != 'true'
uses: bahmutov/npm-install@v1
- name: 🔨 Build
run: npm run build
- name: 🥅 Deploy to GH-Pages
if: github.ref_name == 'main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist