Files
sweet/.github/workflows/publish.yml
T
fry69 1c1ea06138 ci: fix publish workflow (#3495)
Looks like the `publish.yml` workflow also needs a `deno install` step,
the current one fails with missing types, see here ->
https://github.com/denoland/fresh/actions/runs/18017720086/job/51266850091#step:4:6

I have no clue why the `deploy.yml` workflow failed with `vite: command
not found` (see here ->
https://github.com/denoland/fresh/actions/runs/18017526863/job/51266206092?pr=3493#step:4:6).
That should work IMHO.
2025-09-25 22:47:14 +02:00

31 lines
500 B
YAML

name: Publish JSR
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
# Skip publishing for forks
if: github.repository_owner == 'denoland'
steps:
- uses: actions/checkout@v4
- name: Install Deno
uses: denoland/setup-deno@v2
with:
cache: true
- name: Install dependencies
run: deno install
- name: Publish
run: deno publish