We're having a growing number of packages in this repository. This PR moves them into a `packages/` directory like it's commonly done in other projects.
28 lines
438 B
YAML
28 lines
438 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: Publish
|
|
run: deno publish
|