Skip to content

Create index.d.ts on root #3

Create index.d.ts on root

Create index.d.ts on root #3

Workflow file for this run

on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.20.4
uses: actions/setup-node@v3
with:
node-version: 18.20.4
- name: Install dependencies
run: npm ci
- name: Build TypeScript
run: |
cd plugin
npx tsc
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git diff --quiet && git diff --staged --quiet || (git commit -m "Build TypeScript [skip ci]" && git push)