Skip to content

fix(plasma): fix the build and remove dead code #4383

fix(plasma): fix the build and remove dead code

fix(plasma): fix the build and remove dead code #4383

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
lint:
name: Lint Changed Files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup
- uses: ./.github/actions/lint
with:
WORKFLOW: 'ci'
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/test
demo:
name: Build & Deploy Demo
runs-on: ubuntu-latest
permissions:
pull-requests: write
id-token: write
contents: read
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/build
- uses: ./.github/actions/deploy
id: deploy-demo
with:
AWS_ROLE: ${{ secrets.AWS_ROLE }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
- name: Add demo link as a commment on the PR
uses: ./.github/actions/comment-on-pr
with:
message: ':heavy_check_mark: [Live demo of your latest successful build available here](https://plasma.coveo.com/feature/${{ steps.deploy-demo.outputs.demo-output-path }}/).'
avoidRepostsWith: Live demo of your latest successful build available here