docs: finalize changelog for release 63 (PE-8811) #4062
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-core | |
| on: [push, workflow_dispatch] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| permissions: | |
| checks: write | |
| contents: read | |
| packages: write | |
| pull-requests: write | |
| steps: | |
| # Setup | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: 'yarn' | |
| # macOS specific setup | |
| - run: brew install python-setuptools | |
| if: matrix.os == 'macos-latest' | |
| # Build and test TypeScript | |
| - run: yarn --immutable --immutable-cache | |
| - run: yarn build | |
| - run: yarn lint:check | |
| - run: yarn test:ci | |
| # Run E2E tests if pushing to develop branch | |
| - name: Build core Docker image | |
| if: github.ref == 'refs/heads/develop' && matrix.os == 'ubuntu-latest' | |
| run: docker build -t core . | |
| - name: Run E2E tests | |
| if: github.ref == 'refs/heads/develop' && matrix.os == 'ubuntu-latest' | |
| run: yarn test:e2e | |
| env: | |
| TEST_SKIP_TAGS: flaky | |
| USE_PREBUILT_IMAGE: 'true' | |
| # Codecov report | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v4 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| # Success notification | |
| - name: Send Slack success notification | |
| if: success() && github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest' | |
| env: | |
| SLACK_TITLE: Build succeeded! | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
| uses: rtCamp/action-slack-notify@v2 | |
| # Failure notification | |
| - name: Send Slack failure notification | |
| if: failure() && github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest' | |
| env: | |
| SLACK_TITLE: Build failed! | |
| SLACK_COLOR: danger | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
| uses: rtCamp/action-slack-notify@v2 | |
| images: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags/r') | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Setup Docker buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Log in to the GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push container image to GitHub Container Registry | |
| uses: docker/build-push-action@v5 | |
| with: | |
| labels: | | |
| org.opencontainers.image.revision=${{ github.sha }} | |
| push: true | |
| platforms: linux/amd64,linux/arm64 | |
| tags: | | |
| ghcr.io/ar-io/ar-io-core:latest | |
| ghcr.io/ar-io/ar-io-core:${{ github.sha }} | |
| ${{ startsWith(github.ref, 'refs/tags/r') && format('ghcr.io/ar-io/ar-io-core:{0}', github.ref_name) || '' }} |