Bump get-func-name from 2.0.0 to 2.0.2 (#17) #38
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: Compile | |
on: | |
push: | |
branches: [main] | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.ADMIN_GITHUB_TOKEN }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Compile action | |
run: | | |
yarn install --frozen-lockfile | |
yarn compile | |
- name: Push compiled action | |
env: | |
GITHUB_TOKEN: ${{ env.ADMIN_GITHUB_TOKEN }} | |
run: | | |
git config --global user.name 'CI' | |
git config --global user.email 'eli.segal@gmail.com' | |
git diff --quiet HEAD || git commit -am "ci:Action compiled by ncc [skip ci]" | |
git push | |