fix: CI
Some checks failed
ci / build (pull_request) Failing after 38s
ci / publish (pull_request) Has been skipped
ci / publish-docs (pull_request) Has been skipped

This commit is contained in:
Matthew McPeak 2026-06-12 11:19:14 -04:00
parent 7fc1db5525
commit 14b31473d1
Signed by: McPeakML
GPG key ID: 3D64A2E70F58D07C

View file

@ -10,13 +10,24 @@ jobs:
build:
runs-on: ubuntu-latest
container: oven/bun:1
outputs:
artifact_name: ${{ steps.meta.outputs.name }}
steps:
- name: Install git
- name: Install git and node
run: apt-get update && apt-get install -y git nodejs
- name: Checkout
uses: actions/checkout@v4
- name: Set artifact name
id: meta
run: |
if [[ "${{ github.ref_type }}" == "tag" ]]; then
tag="${GITHUB_REF_NAME#v}"
else
tag="$(date -u +%Y%m%d)"
fi
echo "name=nychthemeron_${tag}" >> "$GITHUB_OUTPUT"
- name: Install dependencies
run: bun install --frozen-lockfile
@ -30,7 +41,7 @@ jobs:
run: bun run type-check -- --force
- name: Build
run: bun run build-only
run: bun run build
- name: Upload dist
uses: actions/upload-artifact@v4