Skip to content

Commit

Permalink
Use deno publish arg for version
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Jan 8, 2025
1 parent e7ed4e4 commit 5cdcead
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,14 @@ jobs:
with:
deno-version: v2.x

- name: Set Version
run: |
sed -i -e "s/0.0.0/${{ needs.lint.outputs.version }}/" deno.json
cat deno.json
- name: Tests
run: |
deno test --allow-net --coverage=cov/
deno coverage cov/
- name: Publish Release Package
if: startsWith(github.ref, 'refs/tags/v')
run: deno publish --allow-dirty
run: deno publish --allow-dirty --set-version ${{ needs.lint.outputs.version }}

npm:
runs-on: ubuntu-24.04
Expand Down

0 comments on commit 5cdcead

Please sign in to comment.