diff --git a/.github/workflows/build-rush.yaml b/.github/workflows/build-rush.yaml index eba9c35..4c9b891 100644 --- a/.github/workflows/build-rush.yaml +++ b/.github/workflows/build-rush.yaml @@ -11,6 +11,10 @@ on: required: true TS_OAUTH_CLIENT_ID: required: true + inputs: + buildParameters: + required: false + type: string jobs: build-packages: @@ -24,7 +28,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: latest - name: Connect to Tailscale uses: tailscale/github-action@v2 @@ -36,7 +40,7 @@ jobs: - name: Testing Server Online? run: | tailscale status - # tailscale ping ci.internal.tinyburg.app + tailscale ping ci.internal.tinyburg.app - name: Start ssh agent run: | @@ -56,8 +60,8 @@ jobs: ssh-add -D ssh-add - # - name: Testing Server Reachable? - # run: ssh ci@ci.internal.tinyburg.app "echo 'Hi, Mom!'" + - name: Testing Server Reachable? + run: ssh ci@ci.internal.tinyburg.app "echo 'Hi, Mom!'" - if: runner.os == 'Linux' name: Start xvfb @@ -65,26 +69,13 @@ jobs: sudo /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "DISPLAY=:99" >> $GITHUB_ENV - - name: Setup cache - uses: actions/cache@v3 - with: - path: common/temp/build-cache - key: linux_node-18_build-cache - - name: Rush Install - run: | - node common/scripts/install-run-rush.js install - node common/scripts/install-run-rush.js update-autoinstaller --name rush-prettier - node common/scripts/install-run-rush.js update-autoinstaller --name rush-commitlint + run: node common/scripts/install-run-rush.js install - name: Verify Change Logs run: node common/scripts/install-run-rush.js change --verify - name: Rush build and test - run: | - node common/scripts/install-run-rush.js rebuild - # node common/scripts/install-run-rush.js test --timeline --production + run: node common/scripts/install-run-rush.js test --timeline --production ${{ inputs.buildParameters }} env: - RUSH_BUILD_CACHE_ENABLED: 1 - RUSH_BUILD_CACHE_WRITE_ALLOWED: 1 ARCHITECT_DOCKER_HOST: "ssh://ci@ci.internal.tinyburg.app:22" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fecfc88..00954bc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,23 +12,23 @@ jobs: uses: ./.github/workflows/build-rush.yaml secrets: inherit - build-docker-authproxy: - needs: build - runs-on: ubuntu-latest - steps: - - name: Hi Mom - run: echo "Hi, Mom!" + # build-docker-authproxy: + # needs: build + # uses: ./.github/workflows/build-rush.yaml + # secrets: inherit + # with: + # buildParameters: --verbose - build-docker-auto-gold-bits: - needs: build - runs-on: ubuntu-latest - steps: - - name: Hi Mom - run: echo "Hi, Mom!" + # build-docker-auto-gold-bits: + # needs: build + # uses: ./.github/workflows/build-rush.yaml + # secrets: inherit + # with: + # buildParameters: --verbose - build-docker-discord-bot: - needs: build - runs-on: ubuntu-latest - steps: - - name: Hi Mom - run: echo "Hi, Mom!" + # build-docker-discord-bot: + # needs: build + # uses: ./.github/workflows/build-rush.yaml + # secrets: inherit + # with: + # buildParameters: --verbose