refactor: centralize implementation of common options (#896) #875
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
name: yamory | |
on: | |
push: | |
branches: | |
- main | |
- yamory-* | |
jobs: | |
yamory: | |
name: Yamory | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Kesin11/actions-timeline@da70beff098ff89b15d279e8bf2f60519a8dadd7 # v2 | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
- name: download and validate Yamory script | |
working-directory: /tmp | |
run: | | |
curl -sSf -L -o ./yamory-pnpm.sh https://localscanner.yamory.io/script/pnpm | |
curl -sSf -L -o ./yamory-pnpm-sha512sum.txt \ | |
https://cli.yamory.io/yamory-app-library-scan-scripts/yamory-pnpm-sha512sum.txt | |
sha512sum --check yamory-pnpm-sha512sum.txt | |
chmod +x ./yamory-pnpm.sh | |
- name: run Yamory | |
run: /tmp/yamory-pnpm.sh | |
env: | |
CI: true | |
PROJECT_GROUP_KEY: cli-kintone | |
YAMORY_API_KEY: ${{ secrets.YAMORY_API_KEY }} |