Skip to content

chore: workflowを修正 #4

chore: workflowを修正

chore: workflowを修正 #4

Workflow file for this run

name: build
on:
push:
paths-ignore:
- 'dist/**'
jobs:
build:
name: build project
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Push Product
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git add .
git commit -m "chore(build): auto build by github actions" || echo "no commit"
git push