Skip to content

🐞 fix: add undo check to prevent negative scores #25

🐞 fix: add undo check to prevent negative scores

🐞 fix: add undo check to prevent negative scores #25

Workflow file for this run

name: Build
on:
workflow_call:
outputs:
artifact-id:
description: 'The ID of the uploaded artifact'
value: ${{ jobs.build.outputs.artifact-id }}
artifact-url:
description: 'The URL of the uploaded artifact'
value: ${{ jobs.build.outputs.artifact-url }}
artifact-digest:
description: 'The digest of the uploaded artifact'
value: ${{ jobs.build.outputs.artifact-digest }}
workflow_dispatch:
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
outputs:
artifact-id: ${{ steps.upload-artifact.outputs.artifact-id }}
artifact-url: ${{ steps.upload-artifact.outputs.artifact-url }}
artifact-digest: ${{ steps.upload-artifact.outputs.artifact-digest }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9.x.x
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Upload build artifact
id: upload-artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: ./dist