diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 27eb96f..8d3011a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ on: - dist paths: - src/** + - .github/workflows/build.yml jobs: build: @@ -26,11 +27,10 @@ jobs: run: npm run build - name: Commit changes - uses: EndBug/add-and-commit@v2 + uses: EndBug/add-and-commit@v4.0.0 with: - force: true message: "[auto] Update compiled version" - path: lib - pattern: "*.js" + add: lib + force: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}