test #3
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: API Reviewer | |
on: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: 20 | |
# cache: "yarn" | |
# - name: Install Dependencies | |
# run: yarn --frozen-lockfile | |
# - name: Genereate current CEM | |
# run: yarn generateAPI | |
- name: Flatten current CEM | |
run: | | |
node ${{ github.workspace }}/.github/actions/test.cjs --file-name=flat-manifest-current | |
echo "Current manifest ===" | |
cat flat-manifest-current.json | |
- uses: actions/checkout@v4 | |
with: | |
ref: origin/main | |
- uses: actions/[email protected] | |
with: | |
node-version: 20 | |
# cache: "yarn" | |
# - name: Install Dependencies | |
# run: yarn --frozen-lockfile | |
# - name: Genereate main CEM | |
# run: yarn generateAPI | |
- name: Flatten main CEM | |
run: | | |
echo "Main manifest ===" | |
node ${{ github.workspace }}/.github/actions/test.cjs --file-name=flat-manifest-main | |
cat flat-manifest-main.json |