Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

copy v7

copy v7 #1

Workflow file for this run

name: Build
on:
push:
branches: [ '**' ]
tags: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Install npm
run: npm install -g npm@8
- name: Install and Build
run: |
npm ci
npm run build
- name: Deploy
if: github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
single-commit: true