Skip to content

Img optimization

Img optimization #442

Workflow file for this run

name: Node.js CI
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.17.0
# Runs a single command using the runners shell
- name: setup git config
run: |
git config user.name "Sadanand Pai"
git config user.email "sadypai@gmail.com"
- name: NPM installation
run: npm ci
- name: setup deployment
run: |
npm run unit:test
npm run build
npm run copy-to-docs
git add docs -f
git diff --staged --quiet || (git commit -m "build files - github action" --no-verify && git push)