Skip to content

Commit

Permalink
ci(workflows): update publish workflow for Deno compatibility
Browse files Browse the repository at this point in the history
Replaced `packages` with `id-token` permission and updated publish step. Adjusted working directory and switched to `deno publish --dry-run` to align with Deno package publishing requirements.

Signed-off-by: suddenlyGiovanni <15946771+suddenlyGiovanni@users.noreply.github.com>
  • Loading branch information
suddenlyGiovanni committed Jan 28, 2025
1 parent ce8d4ee commit e9bbfb9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- name: 📥 Checkout code
uses: actions/checkout@v4
Expand All @@ -21,7 +21,5 @@ jobs:

- name: 📦 Publish package to JSR
shell: bash
run: |
echo "TODO: Publishing package to JSR"
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./packages/schema-resume
run: deno publish --dry-run

0 comments on commit e9bbfb9

Please sign in to comment.