Skip to content

Add build script and CI #1

Add build script and CI

Add build script and CI #1

Workflow file for this run

name: Build and Commit Changes
on:
pull_request:
branches: ['*']
push:
branches: [main]
jobs:
build-and-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '22'
- name: Run build script
run: node build.js
- name: Commit changes
run: |
git add .
git commit -m "CI: Run the examples and update READMEs"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}