Restructure #17
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Git config user | |
uses: snow-actions/[email protected] | |
with: | |
name: Luxcium | |
email: [email protected] | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '22' | |
- name: Install Rush | |
run: npm install -g @microsoft/rush | |
- name: Verify package.json exists | |
run: | | |
if [ ! -f "services/rpc-worker-pool/package.json" ]; then | |
echo "Error: package.json not found for @luxcium/rpc-worker-pool" | |
exit 1 | |
fi | |
- name: Install dependencies | |
run: rush update | |
working-directory: services/rpc-worker-pool | |
- name: Verify Change Logs | |
run: rush change --verify | |
working-directory: services/rpc-worker-pool | |
- name: Rush rebuild | |
run: rush rebuild --verbose --production | |
working-directory: services/rpc-worker-pool |