feat: add approve pr action #1
Workflow file for this run
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: Check Transpiled JavaScript | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
check-dist: | |
name: Check dist/ | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
action_name: ['approve-pr'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
id: setup-node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
cache: npm | |
- name: Install Dependencies | |
id: install | |
run: npm ci | |
- uses: ./.github/actions/check-dist | |
with: | |
action_name: ${{ matrix.action_name }} |