chore(RSS-ECOMM-1_32): set up GitHub actions CI pipeline #7
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: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: npm install | |
- name: Format code with Prettier | |
run: npm run ci:format | |
automate-review: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Request Review | |
uses: octokit/[email protected] | |
with: | |
reviewers: stardustmeg, Kleostro, YulikK | |
pull_request_number: ${{ github.event.pull_request.number }} | |
repository_token: ${{ secrets.AUTOMATED_REVIEW_TOKEN }} |