Skip to content

chore: add ci for pr #27

chore: add ci for pr

chore: add ci for pr #27

Workflow file for this run

name: build
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- name: build
run: |
yarn install
yarn build
- name: commit change & push
run: |
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git pull
git add .
git commit --allow-empty -m ":robot: build automatically"
git push
- name: repository dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GH_TOKEN }}
event-type: build-event