add intput-to-json and filter-paths actions #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: pnpm | |
cache-dependency-path: pnpm-lock.yaml | |
- name: install dependencies | |
run: pnpm i --frozen-lockfile | |
- name: build packages | |
run: pnpm build | |
- name: copy action.yml and dist files to actions folder | |
run: node after_build.js | |
- name: Commit and push files | |
run: | | |
git config --global user.email "pngwn@users.noreply.github.com" | |
git config --global user.name "pngwn" | |
git add . | |
git commit --allow-empty -m "Build actions" | |
git push |