Skip to content

bump(deps): update dependency rimraf to v5 #4349

bump(deps): update dependency rimraf to v5

bump(deps): update dependency rimraf to v5 #4349

Workflow file for this run

name: Release Apps
on:
release:
types: [ published ]
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
env:
APPS: 'legacy-api,playground-api,status-api,whale-api'
jobs:
build:
if: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
name: Publish
runs-on: ubuntu-latest
strategy:
matrix:
app: [ legacy-api, playground-api, status-api, whale-api ]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up QEMU
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2.1.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c # v2.5.0
- name: Login to GitHub Container Registry
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: '.nvmrc'
- run: npm ci
- name: Resolve Tags
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
id: tags
env:
APP: ${{ matrix.app }}
with:
script: return require('./.github/scripts/release-tags.js')({ context })
result-encoding: string
- name: Build & Publish
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1
with:
push: true
build-args: APP=${{ matrix.app }}
platforms: |
linux/amd64
linux/arm64
tags: ${{ steps.tags.outputs.result }}
cache-from: type=registry,ref=ghcr.io/birthdayresearch/jellyfish:buildcache
cache-to: type=registry,ref=ghcr.io/birthdayresearch/jellyfish:buildcache,mode=max
report:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
name: Report
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Create Report
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
id: report
with:
script: return require('./.github/scripts/release-report.js')({ context })
result-encoding: string
- name: Post Report
uses: marocchino/sticky-pull-request-comment@f61b6cf21ef2fcc468f4345cdfcc9bda741d2343 # v2.6.2
with:
header: release
message: ${{ steps.report.outputs.result }}