New: React-based admin UI with REST API #1
Workflow file for this run
This file contains hidden or 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: Build | |
| on: | |
| pull_request: | |
| concurrency: | |
| cancel-in-progress: true | |
| group: build-${{ github.ref }} | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build Plugin | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build JS assets | |
| run: npm run build | |
| - name: Build plugin directory | |
| run: npm run package | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: aryo-activity-log-pr${{ github.event.pull_request.number }}-${{ github.sha }} | |
| path: aryo-activity-log/ | |
| retention-days: 14 |